source: doc/generic_types/evaluation/c-stack.h @ 122aecd

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since 122aecd was 122aecd, checked in by Aaron Moss <a3moss@…>, 8 years ago

Expand benchmarks

  • Property mode set to 100644
File size: 331 bytes
Line 
1struct stack_node;
2
3struct stack {
4        struct stack_node* head;
5};
6
7struct stack new_stack();
8
9void copy_stack(struct stack* dst, struct stack* src, void* (*copy)(void*));
10
11void clear_stack(struct stack* s);
12
13_Bool stack_empty(const struct stack* s);
14
15void push_stack(struct stack* s, void* value);
16
17void* pop_stack(struct stack* s);
Note: See TracBrowser for help on using the repository browser.