Files
obitools3/python/obitools3/dms/object.pxd

28 lines
495 B
Cython
Raw Normal View History

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-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-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
cdef object new_wrapper(type constructor, void* pointer)
2017-03-06 16:07:02 +01:00
cdef class OBIDeactivatedInstanceError(Exception):
pass