Doxygen documentation corrected and completed.
This commit is contained in:
@ -19,7 +19,7 @@
|
||||
#include "obidebug.h"
|
||||
|
||||
|
||||
#define DEBUG_LEVEL 0
|
||||
#define DEBUG_LEVEL 0 // TODO has to be defined somewhere else (cython compil flag?)
|
||||
|
||||
|
||||
/**********************************************************************
|
||||
@ -70,7 +70,7 @@ obichar_t obi_column_get_obichar_with_elt_idx(OBIDMS_column_p column, size_t lin
|
||||
}
|
||||
|
||||
|
||||
int obi_column_set_obichar_with_elt_name(OBIDMS_column_p column, size_t line_nb, char* element_name, obichar_t value)
|
||||
int obi_column_set_obichar_with_elt_name(OBIDMS_column_p column, size_t line_nb, const char* element_name, obichar_t value)
|
||||
{
|
||||
size_t element_idx;
|
||||
|
||||
@ -88,7 +88,7 @@ int obi_column_set_obichar_with_elt_name(OBIDMS_column_p column, size_t line_nb,
|
||||
else
|
||||
{
|
||||
element_idx = obi_column_get_element_index_from_name(column, element_name);
|
||||
if (element_idx == -1)
|
||||
if (element_idx == SIZE_MAX) //TODO
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -98,7 +98,7 @@ int obi_column_set_obichar_with_elt_name(OBIDMS_column_p column, size_t line_nb,
|
||||
}
|
||||
|
||||
|
||||
obichar_t obi_column_get_obichar_with_elt_name(OBIDMS_column_p column, size_t line_nb, char* element_name)
|
||||
obichar_t obi_column_get_obichar_with_elt_name(OBIDMS_column_p column, size_t line_nb, const char* element_name)
|
||||
{
|
||||
size_t element_idx;
|
||||
|
||||
@ -116,7 +116,7 @@ obichar_t obi_column_get_obichar_with_elt_name(OBIDMS_column_p column, size_t li
|
||||
else
|
||||
{
|
||||
element_idx = obi_column_get_element_index_from_name(column, element_name);
|
||||
if (element_idx == -1)
|
||||
if (element_idx == SIZE_MAX) //TODO
|
||||
return OBIChar_NA;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user