diff --git a/src/mystack.c b/src/mystack.c index 3cafe5b..a6aa121 100644 --- a/src/mystack.c +++ b/src/mystack.c @@ -1,14 +1,15 @@ #include "mystack.h" #include #include - +#define SinvollerName -1 /* * instantiates a new stack and returns a pointer to it. * must be free'ed using stack_delete(...) +* */ MyStack* stack_create(){ MyStack* stack = (MyStack*)malloc(sizeof(MyStack)); - stack->top = -1; + stack->top = SinvollerName; return stack; }