2013-07-24 15:06:38 +00:00
|
|
|
/*
|
2013-07-25 14:42:02 +00:00
|
|
|
abCMode.h
|
2013-07-24 15:06:38 +00:00
|
|
|
By: Jeremy Rand
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
2013-07-25 14:42:02 +00:00
|
|
|
#ifndef ABCMODE_H
|
|
|
|
#define ABCMODE_H
|
2013-07-24 15:56:02 +00:00
|
|
|
|
|
|
|
|
2013-07-25 15:21:21 +00:00
|
|
|
#include "expr/abCExpr.h"
|
2013-07-24 15:06:38 +00:00
|
|
|
|
|
|
|
|
|
|
|
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);
|
2013-07-24 15:56:02 +00:00
|
|
|
|
|
|
|
|
|
|
|
#endif
|