New module strstack

git-svn-id: svn://svn.cc65.org/cc65/trunk@2904 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2004-03-07 22:09:06 +00:00
parent 7006e5d1f2
commit 9d439d9dd2
6 changed files with 198 additions and 5 deletions

View File

@@ -63,11 +63,11 @@ void IS_Set (IntStack* S, long Val)
long IS_Pop (IntStack* S)
/* Pop a value from an int stack */
void IS_Drop (IntStack* S)
/* Drop a value from an int stack */
{
CHECK (S->Count > 1);
return S->Stack[--S->Count];
--S->Count;
}