C_TP_Forth/pileInt.h
2022-12-08 06:11:40 +01:00

25 lines
426 B
C

#ifndef PILE_INT_H_
#define PILE_INT_H_
#include "definitions.h"
struct ListInt {
programPointer i;
struct ListInt* next;
};
struct PileInt {
struct ListInt* l;
unsigned int height;
};
void initPileI( struct PileInt* p );
void pushPileI( struct PileInt* p, programPointer i );
int topPileI( struct PileInt* p );
void popPileI( struct PileInt* p );
void endPileI( struct PileInt* p );
#endif // PILE_H_