mirror of
https://github.com/jeremysrand/abCalc.git
synced 2024-11-27 05:49:44 +00:00
33 lines
453 B
C
33 lines
453 B
C
/*
|
|
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);
|
|
|
|
abCalcExpr *abCalcStackExprAt(int depth);
|
|
|
|
char *abCalcStackExprStringAt(int depth, char *buffer);
|
|
|
|
int abCalcStackNumItems(void);
|
|
|
|
void abCalcStackClear(void);
|
|
|
|
|
|
#endif
|