| Index: third_party/yasm/patched-yasm/tools/python-yasm/yasm.pyx
|
| ===================================================================
|
| --- third_party/yasm/patched-yasm/tools/python-yasm/yasm.pyx (revision 165590)
|
| +++ third_party/yasm/patched-yasm/tools/python-yasm/yasm.pyx (working copy)
|
| @@ -97,7 +97,7 @@
|
| #
|
| cdef class __assoc_data_callback:
|
| cdef yasm_assoc_data_callback *cb
|
| - def __new__(self, destroy, print_):
|
| + def __cinit__(self, destroy, print_):
|
| self.cb = <yasm_assoc_data_callback *>malloc(sizeof(yasm_assoc_data_callback))
|
| self.cb.destroy = <void (*) (void *)>PyCObject_AsVoidPtr(destroy)
|
| #self.cb.print_ = <void (*) (void *, FILE *, int)>PyCObject_AsVoidPtr(print_)
|
| @@ -107,7 +107,7 @@
|
|
|
| cdef class Register:
|
| cdef unsigned long reg
|
| - def __new__(self, reg):
|
| + def __cinit__(self, reg):
|
| self.reg = reg
|
|
|
| include "errwarn.pxi"
|
|
|