Doxygen documentation corrected and completed.

This commit is contained in:
Celine Mercier
2015-09-30 12:03:46 +02:00
parent 45af8396b8
commit 4b7f2d268b
25 changed files with 670 additions and 689 deletions

View File

@ -1,5 +1,5 @@
/****************************************************************************
* OBIDMS_column_bool functions *
* OBIDMS_column_bool functions *
****************************************************************************/
/**
@ -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?)
/**********************************************************************
@ -69,7 +69,7 @@ obibool_t obi_column_get_obibool_with_elt_idx(OBIDMS_column_p column, size_t lin
}
int obi_column_set_obibool_with_elt_name(OBIDMS_column_p column, size_t line_nb, char* element_name, obibool_t value)
int obi_column_set_obibool_with_elt_name(OBIDMS_column_p column, size_t line_nb, const char* element_name, obibool_t value)
{
size_t element_idx;
@ -87,7 +87,7 @@ int obi_column_set_obibool_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;
}
@ -97,7 +97,7 @@ int obi_column_set_obibool_with_elt_name(OBIDMS_column_p column, size_t line_nb,
}
obibool_t obi_column_get_obibool_with_elt_name(OBIDMS_column_p column, size_t line_nb, char* element_name)
obibool_t obi_column_get_obibool_with_elt_name(OBIDMS_column_p column, size_t line_nb, const char* element_name)
{
size_t element_idx;
@ -115,7 +115,7 @@ obibool_t obi_column_get_obibool_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 OBIBool_NA;
}