diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2024-03-07 21:04:14 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-07 21:04:14 (GMT) |
commit | 577a32fe83a800b170d4fd8e079fbe2774c9396c (patch) | |
tree | 2a75d2ac8b3de2e389ee5cfee86605ab0720b9a4 /src/H5Tenum.c | |
parent | bc0c42695f7669f64c00c357880b0dfecf30e343 (diff) | |
download | hdf5-577a32fe83a800b170d4fd8e079fbe2774c9396c.zip hdf5-577a32fe83a800b170d4fd8e079fbe2774c9396c.tar.gz hdf5-577a32fe83a800b170d4fd8e079fbe2774c9396c.tar.bz2 |
Fix bin/trace script w/ out params (#4074)
The bin/trace script adds TRACE macros to public API calls in the main
C library. This script had a parsing bug that caused functions that
were annotated with /*out*/, etc. to be labeled as void pointers
instead of typed pointers.
This is mainly a developer feature and not visible to consumers
of the public API.
The bin/trace script now annotates public API calls properly.
Fixes GH #3733
Diffstat (limited to 'src/H5Tenum.c')
-rw-r--r-- | src/H5Tenum.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Tenum.c b/src/H5Tenum.c index 09407b1..94db155 100644 --- a/src/H5Tenum.c +++ b/src/H5Tenum.c @@ -222,7 +222,7 @@ H5Tget_member_value(hid_t type, unsigned membno, void *value /*out*/) herr_t ret_value = SUCCEED; /* Return value */ FUNC_ENTER_API(FAIL) - H5TRACE3("e", "iIux", type, membno, value); + H5TRACE3("e", "iIu*x", type, membno, value); if (NULL == (dt = (H5T_t *)H5I_object_verify(type, H5I_DATATYPE))) HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a data type"); @@ -289,7 +289,7 @@ H5Tenum_nameof(hid_t type, const void *value, char *name /*out*/, size_t size) herr_t ret_value = SUCCEED; /* Return value */ FUNC_ENTER_API(FAIL) - H5TRACE4("e", "i*xxz", type, value, name, size); + H5TRACE4("e", "i*x*sz", type, value, name, size); /* Check args */ if (NULL == (dt = (H5T_t *)H5I_object_verify(type, H5I_DATATYPE))) @@ -420,7 +420,7 @@ H5Tenum_valueof(hid_t type, const char *name, void *value /*out*/) herr_t ret_value = SUCCEED; /* Return value */ FUNC_ENTER_API(FAIL) - H5TRACE3("e", "i*sx", type, name, value); + H5TRACE3("e", "i*s*x", type, name, value); /* Check args */ if (NULL == (dt = (H5T_t *)H5I_object_verify(type, H5I_DATATYPE))) |