Commit a76e22d1 authored by Sam Rushing's avatar Sam Rushing

Unpacker.get_pointer: needs an 'except NULL' clause.

parent 44da5adc
......@@ -383,7 +383,7 @@ cdef class Unpacker:
c = buf[self.offset]
self.offset += 1
return c
cdef unsigned char * get_pointer (self, uint32_t n):
cdef unsigned char * get_pointer (self, uint32_t n) except NULL:
cdef unsigned char * p = self.buf
self.ensure (n)
return p + self.offset
......
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