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 | |
---|
1 | struct stack_node; |
---|
2 | |
---|
3 | struct stack { |
---|
4 | struct stack_node* head; |
---|
5 | }; |
---|
6 | |
---|
7 | struct stack new_stack(); |
---|
8 | |
---|
9 | void copy_stack(struct stack* dst, struct stack* src, void* (*copy)(void*)); |
---|
10 | |
---|
11 | void clear_stack(struct stack* s); |
---|
12 | |
---|
13 | _Bool stack_empty(const struct stack* s); |
---|
14 | |
---|
15 | void push_stack(struct stack* s, void* value); |
---|
16 | |
---|
17 | void* pop_stack(struct stack* s); |
---|
Note: See
TracBrowser
for help on using the repository browser.