abCalc/abCalcMode.h

38 lines
532 B
C
Raw Normal View History

2013-07-24 15:06:38 +00:00
/*
abCalcMode.h
By: Jeremy Rand
*/
#ifndef ABCALCMODE_H
#define ABCALCMODE_H
2013-07-24 15:06:38 +00:00
#include "abCalcExpr.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