]>
git.datanom.net - clib.git/blob - demo/demo.c
8e5de8c88449080e17a124fbb3eaecd15e91c54c
8 Stack* stack = stack_init();
9 if (stack_empty(stack))
10 printf("Stack is empty\n");
12 int* i = malloc(sizeof(int*));
15 int* j = malloc(sizeof(int*));
18 int* val = stack_pop(stack);
19 printf("Stack back: %i\n", *val);
21 void** elems = stack_clear(&stack);
22 for (int i = 0; elems[i]; i++)
This page took 0.091867 seconds and 6 git commands to generate.