2017-01-10 14:07:10 +01:00
|
|
|
#cython: language_level=3
|
|
|
|
|
2017-03-06 16:07:02 +01:00
|
|
|
|
|
|
|
cdef dict __c_cython_mapping__
|
|
|
|
|
|
|
|
|
2017-01-10 14:07:10 +01:00
|
|
|
cdef class OBIObject:
|
2017-02-20 14:55:36 +01:00
|
|
|
|
2017-04-06 14:41:43 +02:00
|
|
|
cdef dict _dependent_objects
|
2017-03-06 16:07:02 +01:00
|
|
|
|
|
|
|
cdef register(self, OBIObject object)
|
|
|
|
cdef unregister(self, OBIObject object)
|
2017-02-20 14:55:36 +01:00
|
|
|
|
2017-03-06 16:07:02 +01:00
|
|
|
|
|
|
|
cdef class OBIWrapper(OBIObject):
|
|
|
|
|
|
|
|
cdef void* _pointer
|
2017-04-06 14:41:43 +02:00
|
|
|
|
|
|
|
cdef inline size_t cid(self)
|
|
|
|
cdef inline bint active(self)
|
2017-01-10 14:07:10 +01:00
|
|
|
|
2017-03-06 16:07:02 +01:00
|
|
|
@staticmethod
|
2017-07-27 19:38:25 +02:00
|
|
|
cdef object new_wrapper(type constructor, void* pointer)
|
2017-03-06 16:07:02 +01:00
|
|
|
|
|
|
|
|
2017-07-28 13:15:13 +02:00
|
|
|
cdef class OBIDeactivatedInstanceError(Exception):
|
2017-02-20 14:55:36 +01:00
|
|
|
pass
|