[Session restore] Rename group name Enabled to Restore.
[chromium-blink-merge.git] / third_party / bintrees / bintrees / stack.pxd
blob7b4efd73f05fbff452421261c9c555428d66494e
1 #!/usr/bin/env python
2 #coding:utf-8
3 # Author: mozman
4 # Created: 08.05.2010
5 # Copyright (c) 2010-2013 by Manfred Moitzi
6 # License: MIT-License
8 from ctrees cimport node_t
10 cdef extern from "stack.h":
11 ctypedef struct node_stack_t:
12 pass
13 node_stack_t *stack_init(int size)
14 void stack_delete(node_stack_t *stack)
15 void stack_push(node_stack_t *stack, node_t *node)
16 node_t *stack_pop(node_stack_t *stack)
17 int stack_is_empty(node_stack_t *stack)
18 void stack_reset(node_stack_t *stack)