12 lines
292 B
Cython
12 lines
292 B
Cython
|
cdef extern from "<stack>" namespace "std" nogil:
|
||
|
cdef cppclass stack[T]:
|
||
|
ctypedef T value_type
|
||
|
stack() except +
|
||
|
stack(stack&) except +
|
||
|
#stack(Container&)
|
||
|
bint empty()
|
||
|
void pop()
|
||
|
void push(T&)
|
||
|
size_t size()
|
||
|
T& top()
|