File: object.pxd

package info (click to toggle)
obitools 3.0.1~b26%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 26,788 kB
  • sloc: ansic: 24,299; python: 657; sh: 27; makefile: 20
file content (27 lines) | stat: -rwxr-xr-x 495 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#cython: language_level=3


cdef dict __c_cython_mapping__


cdef class OBIObject:

    cdef dict _dependent_objects
   
    cdef register(self, OBIObject object)
    cdef unregister(self, OBIObject object)


cdef class OBIWrapper(OBIObject):
    
    cdef void*  _pointer
    
    cdef inline size_t cid(self)    
    cdef inline bint active(self)
    
    @staticmethod
    cdef object new_wrapper(type constructor, void* pointer)


cdef class OBIDeactivatedInstanceError(Exception):
    pass