-
values where appropriate: o Mark Interface::tag_get_size as deprecated and add new functions: tag_get_length and tag_get_bytes, where the former returns the number of values of the tag data type (e.g. number of doubles for tag with MB_TYPE_DOUBLE), returning the number of bits for bit tags and the number of bytes for opaque tags. The latter is the same as the old tag_get_size, *except* that it always returns 1 for bit tags. o Make the tag_get/set_data functions that work with arrays of pointers to tag values and arrays of lengths as deprecated, replacing them with analogous tag_get/set_by_ptr functions that work with lengths in terms of number of values rather than number of bytes. Function rename will also help to avoid memory corruption when attempting to call the old functions w/out the optional length array and accidentally calling the non-pointer variants due to accidental cast to void*. o Change seldom used optional size argument to tag_get_default_value and tag_clear_data to be interpreted as number of values rather than number of bytes. o Update all MOAB code for these changes. git-svn-id: https://svn.mcs.anl.gov/repos/ITAPS/MOAB/trunk@4954 6162379e-bd28-0410-9a7d-b7f4dcfcad3c
a39f15ff