mirror of
https://github.com/jeremysrand/abCalc.git
synced 2024-11-23 08:35:43 +00:00
38 lines
525 B
C
38 lines
525 B
C
/*
|
|
abCMode.h
|
|
By: Jeremy Rand
|
|
*/
|
|
|
|
|
|
#ifndef ABCMODE_H
|
|
#define ABCMODE_H
|
|
|
|
|
|
#include "expr/abCExpr.h"
|
|
|
|
|
|
typedef enum abCalcModeIntBase
|
|
{
|
|
abCalcModeIntBaseMin = 0,
|
|
abCalcModeBinBase = 0,
|
|
abCalcModeOctBase,
|
|
abCalcModeDecBase,
|
|
abCalcModeHexBase,
|
|
|
|
abCalcModeIntBaseMax
|
|
} abCalcModeIntBase;
|
|
|
|
|
|
void abCalcModeInit(void);
|
|
|
|
abCalcModeIntBase abCalcModeGetBase(void);
|
|
|
|
void abCalcModeSetBase(abCalcModeIntBase base);
|
|
|
|
int abCalcModeGetIntWidth(void);
|
|
|
|
void abCalcModeSetIntWidth(int width);
|
|
|
|
|
|
#endif
|