Cython sources modified to add the handling of OBIDMS columns with the
type OBI_INT
This commit is contained in:
@ -2,10 +2,14 @@
|
||||
|
||||
from .capidms cimport *
|
||||
|
||||
cdef class OBIDMS:
|
||||
cdef class OBIDMS :
|
||||
|
||||
def __init__(self, dms_name):
|
||||
self.pointer = obi_dms(dms_name)
|
||||
def __init__(self, dms_name) :
|
||||
dms_name_b = dms_name.encode(encoding='UTF-8')
|
||||
self.pointer = obi_dms(dms_name_b)
|
||||
|
||||
def __del__(self):
|
||||
def __del__(self) :
|
||||
obi_close_dms(self.pointer)
|
||||
|
||||
def list(self):
|
||||
obi_list_columns(self.pointer)
|
Reference in New Issue
Block a user