obi_errno_to_exception function now properly reads obi_errno global

variable directly
This commit is contained in:
Celine Mercier
2019-03-20 11:43:12 +01:00
parent 802a3f5933
commit 3abe1b7ace
10 changed files with 72 additions and 72 deletions

View File

@ -5,7 +5,7 @@ from obitools3.dms.capi.obitypes cimport obitype_t, index_t
cpdef bytes format_separator(bytes format)
cpdef int count_entries(file, bytes format)
cdef obi_errno_to_exception(int obi_errno, index_t line_nb=*, object elt_id=*, str error_message=*)
cdef obi_errno_to_exception(index_t line_nb=*, object elt_id=*, str error_message=*)
cdef bytes str2bytes(str string)
cdef str bytes2str(bytes string)