abCalc/abCStack.h

31 lines
423 B
C
Raw Normal View History

/*
abCStack.h
By: Jeremy Rand
*/
#ifndef ABCSTACK_H
#define ABCSTACK_H
#include "expr/abCExpr.h"
#define AB_CALC_STACK_DEPTH 128
void abCalcStackInit(void);
abCalcExpr *abCalcStackExprPush(abCalcExpr *expr);
abCalcExpr *abCalcStackExprPop(abCalcExpr *expr);
2013-07-24 17:01:38 +00:00
abCalcExpr *abCalcStackExprAt(int depth);
char *abCalcStackExprStringAt(int depth, char *buffer);
int abCalcStackNumItems(void);
#endif