Cython C API declarations to go with previous commit
This commit is contained in:
@ -24,7 +24,7 @@ cdef extern from "obiview.h" nogil:
|
|||||||
extern const_char_p ID_COLUMN
|
extern const_char_p ID_COLUMN
|
||||||
extern const_char_p DEFINITION_COLUMN
|
extern const_char_p DEFINITION_COLUMN
|
||||||
extern const_char_p QUALITY_COLUMN
|
extern const_char_p QUALITY_COLUMN
|
||||||
|
extern const_char_p COUNT_COLUMN
|
||||||
|
|
||||||
struct Alias_column_pair_t :
|
struct Alias_column_pair_t :
|
||||||
Column_reference_t column_refs
|
Column_reference_t column_refs
|
||||||
@ -204,7 +204,8 @@ cdef extern from "obiview.h" nogil:
|
|||||||
OBIDMS_column_p column_p,
|
OBIDMS_column_p column_p,
|
||||||
index_t line_nb,
|
index_t line_nb,
|
||||||
index_t element_idx,
|
index_t element_idx,
|
||||||
const char* value)
|
const char* value,
|
||||||
|
int offset)
|
||||||
|
|
||||||
int obi_set_qual_int_with_elt_idx_and_col_p_in_view(Obiview_p view,
|
int obi_set_qual_int_with_elt_idx_and_col_p_in_view(Obiview_p view,
|
||||||
OBIDMS_column_p column_p,
|
OBIDMS_column_p column_p,
|
||||||
@ -216,7 +217,8 @@ cdef extern from "obiview.h" nogil:
|
|||||||
char* obi_get_qual_char_with_elt_idx_and_col_p_in_view(Obiview_p view,
|
char* obi_get_qual_char_with_elt_idx_and_col_p_in_view(Obiview_p view,
|
||||||
OBIDMS_column_p column_p,
|
OBIDMS_column_p column_p,
|
||||||
index_t line_nb,
|
index_t line_nb,
|
||||||
index_t element_idx)
|
index_t element_idx,
|
||||||
|
int offset)
|
||||||
|
|
||||||
const uint8_t* obi_get_qual_int_with_elt_idx_and_col_p_in_view(Obiview_p view,
|
const uint8_t* obi_get_qual_int_with_elt_idx_and_col_p_in_view(Obiview_p view,
|
||||||
OBIDMS_column_p column_p,
|
OBIDMS_column_p column_p,
|
||||||
@ -228,7 +230,8 @@ cdef extern from "obiview.h" nogil:
|
|||||||
OBIDMS_column_p column_p,
|
OBIDMS_column_p column_p,
|
||||||
index_t line_nb,
|
index_t line_nb,
|
||||||
const char* element_name,
|
const char* element_name,
|
||||||
const char* value)
|
const char* value,
|
||||||
|
int offset)
|
||||||
|
|
||||||
int obi_set_qual_int_with_elt_name_and_col_p_in_view(Obiview_p view,
|
int obi_set_qual_int_with_elt_name_and_col_p_in_view(Obiview_p view,
|
||||||
OBIDMS_column_p column_p,
|
OBIDMS_column_p column_p,
|
||||||
@ -240,7 +243,8 @@ cdef extern from "obiview.h" nogil:
|
|||||||
char* obi_get_qual_char_with_elt_name_and_col_p_in_view(Obiview_p view,
|
char* obi_get_qual_char_with_elt_name_and_col_p_in_view(Obiview_p view,
|
||||||
OBIDMS_column_p column_p,
|
OBIDMS_column_p column_p,
|
||||||
index_t line_nb,
|
index_t line_nb,
|
||||||
const char* element_name)
|
const char* element_name,
|
||||||
|
int offset)
|
||||||
|
|
||||||
const uint8_t* obi_get_qual_int_with_elt_name_and_col_p_in_view(Obiview_p view,
|
const uint8_t* obi_get_qual_int_with_elt_name_and_col_p_in_view(Obiview_p view,
|
||||||
OBIDMS_column_p column_p,
|
OBIDMS_column_p column_p,
|
||||||
@ -296,3 +300,26 @@ cdef extern from "obiview.h" nogil:
|
|||||||
index_t line_nb,
|
index_t line_nb,
|
||||||
index_t element_idx)
|
index_t element_idx)
|
||||||
|
|
||||||
|
|
||||||
|
# OBI_IDX
|
||||||
|
int obi_set_index_with_elt_name_and_col_p_in_view(Obiview_p view,
|
||||||
|
OBIDMS_column_p column_p,
|
||||||
|
index_t line_nb,
|
||||||
|
const_char_p element_name,
|
||||||
|
index_t value)
|
||||||
|
|
||||||
|
int obi_set_index_with_elt_idx_and_col_p_in_view(Obiview_p view,
|
||||||
|
OBIDMS_column_p column_p,
|
||||||
|
index_t line_nb,
|
||||||
|
index_t element_idx,
|
||||||
|
index_t value)
|
||||||
|
|
||||||
|
index_t obi_get_index_with_elt_name_and_col_p_in_view(Obiview_p view,
|
||||||
|
OBIDMS_column_p column_p,
|
||||||
|
index_t line_nb,
|
||||||
|
const_char_p element_name)
|
||||||
|
|
||||||
|
index_t obi_get_index_with_elt_idx_and_col_p_in_view(Obiview_p view,
|
||||||
|
OBIDMS_column_p column_p,
|
||||||
|
index_t line_nb,
|
||||||
|
index_t element_idx)
|
||||||
|
Reference in New Issue
Block a user