2013-07-24 14:30:44 +00:00
|
|
|
/*
|
2013-07-25 14:42:02 +00:00
|
|
|
abCStack.h
|
2013-07-24 14:30:44 +00:00
|
|
|
By: Jeremy Rand
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
2013-07-25 14:42:02 +00:00
|
|
|
#ifndef ABCSTACK_H
|
|
|
|
#define ABCSTACK_H
|
2013-07-24 15:56:02 +00:00
|
|
|
|
|
|
|
|
2013-07-25 15:21:21 +00:00
|
|
|
#include "expr/abCExpr.h"
|
|
|
|
|
2013-07-24 14:30:44 +00:00
|
|
|
|
2013-07-27 02:27:29 +00:00
|
|
|
#define AB_CALC_STACK_DEPTH 128
|
|
|
|
|
|
|
|
|
2013-07-24 14:30:44 +00:00
|
|
|
void abCalcStackInit(void);
|
|
|
|
|
|
|
|
abCalcExpr *abCalcStackExprPush(abCalcExpr *expr);
|
|
|
|
|
|
|
|
abCalcExpr *abCalcStackExprPop(abCalcExpr *expr);
|
|
|
|
|
2013-07-24 17:01:38 +00:00
|
|
|
abCalcExpr *abCalcStackExprAt(int depth);
|
2013-07-24 15:56:02 +00:00
|
|
|
|
2013-07-27 02:27:29 +00:00
|
|
|
char *abCalcStackExprStringAt(int depth, char *buffer);
|
|
|
|
|
2013-07-24 15:56:02 +00:00
|
|
|
int abCalcStackNumItems(void);
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|