Functions to get obiblobs through views

This commit is contained in:
Celine Mercier
2016-11-18 15:59:50 +01:00
parent 7d022c1a52
commit 621b4972db
4 changed files with 88 additions and 5 deletions

View File

@ -25,7 +25,7 @@
**********************************************************************/
Obi_blob_p obi_column_get_obiblob_with_elt_idx(OBIDMS_column_p column, index_t line_nb, index_t element_idx)
Obi_blob_p obi_column_get_blob_with_elt_idx(OBIDMS_column_p column, index_t line_nb, index_t element_idx)
{
index_t idx;
@ -42,12 +42,12 @@ Obi_blob_p obi_column_get_obiblob_with_elt_idx(OBIDMS_column_p column, index_t l
}
Obi_blob_p obi_column_get_obiblob_with_elt_name(OBIDMS_column_p column, index_t line_nb, const char* element_name)
Obi_blob_p obi_column_get_blob_with_elt_name(OBIDMS_column_p column, index_t line_nb, const char* element_name)
{
index_t element_idx = obi_column_get_element_index_from_name(column, element_name);
if (element_idx == OBIIdx_NA)
return OBIBlob_NA;
return obi_column_get_obiblob_with_elt_idx(column, line_nb, element_idx);
return obi_column_get_blob_with_elt_idx(column, line_nb, element_idx);
}