summaryrefslogtreecommitdiffstats
path: root/src/H5Odeprec.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2024-03-07 21:04:14 (GMT)
committerGitHub <noreply@github.com>2024-03-07 21:04:14 (GMT)
commit577a32fe83a800b170d4fd8e079fbe2774c9396c (patch)
tree2a75d2ac8b3de2e389ee5cfee86605ab0720b9a4 /src/H5Odeprec.c
parentbc0c42695f7669f64c00c357880b0dfecf30e343 (diff)
downloadhdf5-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/H5Odeprec.c')
-rw-r--r--src/H5Odeprec.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/H5Odeprec.c b/src/H5Odeprec.c
index 3de5818..3dd01f4 100644
--- a/src/H5Odeprec.c
+++ b/src/H5Odeprec.c
@@ -405,7 +405,7 @@ H5Oget_info1(hid_t loc_id, H5O_info1_t *oinfo /*out*/)
herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_API(FAIL)
- H5TRACE2("e", "ix", loc_id, oinfo);
+ H5TRACE2("e", "i*!", loc_id, oinfo);
/* Check args */
if (!oinfo)
@@ -455,7 +455,7 @@ H5Oget_info_by_name1(hid_t loc_id, const char *name, H5O_info1_t *oinfo /*out*/,
herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_API(FAIL)
- H5TRACE4("e", "i*sxi", loc_id, name, oinfo, lapl_id);
+ H5TRACE4("e", "i*s*!i", loc_id, name, oinfo, lapl_id);
/* Check args */
if (!name)
@@ -517,7 +517,7 @@ H5Oget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H
herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_API(FAIL)
- H5TRACE7("e", "i*sIiIohxi", loc_id, group_name, idx_type, order, n, oinfo, lapl_id);
+ H5TRACE7("e", "i*sIiIoh*!i", loc_id, group_name, idx_type, order, n, oinfo, lapl_id);
/* Check args */
if (!group_name || !*group_name)
@@ -582,7 +582,7 @@ H5Oget_info2(hid_t loc_id, H5O_info1_t *oinfo /*out*/, unsigned fields)
herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_API(FAIL)
- H5TRACE3("e", "ixIu", loc_id, oinfo, fields);
+ H5TRACE3("e", "i*!Iu", loc_id, oinfo, fields);
/* Check args */
if (!oinfo)
@@ -635,7 +635,7 @@ H5Oget_info_by_name2(hid_t loc_id, const char *name, H5O_info1_t *oinfo /*out*/,
herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_API(FAIL)
- H5TRACE5("e", "i*sxIui", loc_id, name, oinfo, fields, lapl_id);
+ H5TRACE5("e", "i*s*!Iui", loc_id, name, oinfo, fields, lapl_id);
/* Check args */
if (!name)
@@ -700,7 +700,7 @@ H5Oget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H
herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_API(FAIL)
- H5TRACE8("e", "i*sIiIohxIui", loc_id, group_name, idx_type, order, n, oinfo, fields, lapl_id);
+ H5TRACE8("e", "i*sIiIoh*!Iui", loc_id, group_name, idx_type, order, n, oinfo, fields, lapl_id);
/* Check args */
if (!group_name || !*group_name)