Example 3: Code: Common Gotcha
void ExtractDataTableCells( SE_Object data_table, SE_Store store )
SE_Data_Table_Sub_Extent extents;
SE_Integer_Unsigned cell_count, element_count;
SE_Integer_Positive *tbl_prop_descr_num;
SE_Table_Property_Description_Fields *prop_descr_flds;
SE_Property_Data_Value *cell_data;
status = SE_GetDataTableSubExtent( data_table, &extents, &cell_count );
status = SE_GetDataTableSignature( data_table, &element_count,
prop_descr_flds, tbl_prop_descr_num );
status = SE_GetDataTable ( data_table, &extents, element_count,
tbl_prop_descr_num, store, &cell_data );
/* process the cell data */
SE_FreeDataTableSubExtent( extents );
SE_FreeDataTableSignature( prop_descr_flds, tbl_prop_descr_num );
/* cell_data is freed when the Store is freed */