From 1fbbdd43f9a23ebe15a9afcbd4ff675f511cb08a Mon Sep 17 00:00:00 2001 From: Celine Mercier Date: Mon, 25 Apr 2016 17:58:37 +0200 Subject: [PATCH] Updated obiversion_t declaration --- python/obitools3/obidms/capi/obitypes.pxd | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/python/obitools3/obidms/capi/obitypes.pxd b/python/obitools3/obidms/capi/obitypes.pxd index 57d3461..8e72129 100644 --- a/python/obitools3/obidms/capi/obitypes.pxd +++ b/python/obitools3/obidms/capi/obitypes.pxd @@ -8,15 +8,11 @@ from posix.types cimport time_t cdef extern from *: ctypedef char* const_char_p "const char*" + cdef extern from "encode.h" nogil: bint only_ATGC(const_char_p seq) -cdef extern from "obidmscolumn.h" nogil: - - ctypedef int32_t obiversion_t - - cdef extern from "obitypes.h" nogil: enum OBIType: @@ -37,10 +33,12 @@ cdef extern from "obitypes.h" nogil: ctypedef OBIBool obibool_t ctypedef int32_t obiint_t - ctypedef double obifloat_t - ctypedef char obichar_t + ctypedef double obifloat_t + ctypedef char obichar_t ctypedef int64_t index_t + ctypedef int32_t obiversion_t + extern obiint_t OBIInt_NA extern index_t OBIIdx_NA extern obifloat_t OBIFloat_NA