Handling of single char columns

This commit is contained in:
Celine Mercier
2015-09-18 15:49:15 +02:00
parent 34a3717fb9
commit 7d7dbb1bf9
5 changed files with 11 additions and 12 deletions

View File

@ -65,6 +65,7 @@ obichar_t obi_column_get_obichar_with_elt_idx(OBIDMS_column_p column, size_t lin
obidebug(1, "\nError trying to get a value that is beyond the current number of lines used");
return OBIChar_NA;
}
return *(((obichar_t*) (column->data)) + (line_nb * ((column->header)->nb_elements_per_line)) + element_idx);
}