Commit d85355b4 authored by candide guevara's avatar candide guevara Committed by GitHub

__dealloc__ should be def not cdef

parent f53690f3
......@@ -409,9 +409,9 @@ compatible types.::
cdef class OwnedPointer:
cdef void* ptr
cdef __dealloc__(self):
if ptr != NULL:
free(ptr)
def __dealloc__(self):
if self.ptr != NULL:
free(self.ptr)
@staticmethod
cdef create(void* ptr):
......
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