
function handling errors and exceptions, as it can't read the right value of the global obi_errno (Cython configuration problem?)
15 lines
537 B
Cython
15 lines
537 B
Cython
#cython: language_level=3
|
|
|
|
from obitools3.dms.capi.obitypes cimport obitype_t, index_t
|
|
|
|
cdef obi_errno_to_exception(int obi_errno, index_t line_nb=*, object elt_id=*, str error_message=*)
|
|
|
|
cdef bytes str2bytes(str string)
|
|
cdef str bytes2str(bytes string)
|
|
cdef bytes tobytes(object string)
|
|
cdef str tostr(object string)
|
|
|
|
cdef obitype_t get_obitype_single_value(object value)
|
|
cdef obitype_t update_obitype(obitype_t obitype, object new_value)
|
|
cdef obitype_t get_obitype_iterable_value(object value)
|
|
cdef obitype_t get_obitype(object value) |