abCalc/abCMode.h

38 lines
525 B
C
Raw Normal View History

2013-07-24 15:06:38 +00:00
/*
abCMode.h
2013-07-24 15:06:38 +00:00
By: Jeremy Rand
*/
#ifndef ABCMODE_H
#define ABCMODE_H
#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);
#endif