mirror of
https://github.com/jeremysrand/abCalc.git
synced 2024-11-23 08:35:43 +00:00
38 lines
532 B
C
38 lines
532 B
C
/*
|
|
abCalcMode.h
|
|
By: Jeremy Rand
|
|
*/
|
|
|
|
|
|
#ifndef ABCALCMODE_H
|
|
#define ABCALCMODE_H
|
|
|
|
|
|
#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
|