Commit 220e78b8 authored by Julien Jerphanion's avatar Julien Jerphanion

Add exception handling for libcpp::stack::push

parent a6c5bad8
...@@ -6,6 +6,6 @@ cdef extern from "<stack>" namespace "std" nogil: ...@@ -6,6 +6,6 @@ cdef extern from "<stack>" namespace "std" nogil:
#stack(Container&) #stack(Container&)
bint empty() bint empty()
void pop() void pop()
void push(T&) void push(T&) except +
size_t size() size_t size()
T& top() T& top()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment