source: doc/papers/OOPSLA17/evaluation/c-stack.h @ a3af522

Last change on this file since a3af522 was f4e3419d, checked in by Peter A. Buhr <pabuhr@…>, 7 years ago

restructure paper documents

  • Property mode set to 100644
File size: 376 bytes
RevLine 
[d919f47]1#pragma once
2
[309be81]3struct stack_node;
4struct stack {
5        struct stack_node* head;
6};
7
8struct stack new_stack();
[87c5f40]9void copy_stack(struct stack* dst, const struct stack* src, void* (*copy)(const void*));
10void clear_stack(struct stack* s, void (*free_el)(void*));
[309be81]11
12_Bool stack_empty(const struct stack* s);
13void push_stack(struct stack* s, void* value);
14void* pop_stack(struct stack* s);
Note: See TracBrowser for help on using the repository browser.