Functions to get obiblobs through views
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user