summaryrefslogtreecommitdiffstats
path: root/src/H5.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/H5.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/H5.c')
-rw-r--r--src/H5.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5.c b/src/H5.c
index a59c013..8bce0b0 100644
--- a/src/H5.c
+++ b/src/H5.c
@@ -654,7 +654,7 @@ H5get_free_list_sizes(size_t *reg_size /*out*/, size_t *arr_size /*out*/, size_t
herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_API(FAIL)
- H5TRACE4("e", "xxxx", reg_size, arr_size, blk_size, fac_size);
+ H5TRACE4("e", "*z*z*z*z", reg_size, arr_size, blk_size, fac_size);
/* Call the free list function to actually get the sizes */
if (H5FL_get_free_list_sizes(reg_size, arr_size, blk_size, fac_size) < 0)
@@ -814,7 +814,7 @@ H5get_libversion(unsigned *majnum /*out*/, unsigned *minnum /*out*/, unsigned *r
herr_t ret_value = SUCCEED;
FUNC_ENTER_API(FAIL)
- H5TRACE3("e", "xxx", majnum, minnum, relnum);
+ H5TRACE3("e", "*Iu*Iu*Iu", majnum, minnum, relnum);
/* Set the version information */
if (majnum)
@@ -1216,7 +1216,7 @@ H5is_library_threadsafe(bool *is_ts /*out*/)
herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_API_NOINIT
- H5TRACE1("e", "x", is_ts);
+ H5TRACE1("e", "*b", is_ts);
if (is_ts) {
#ifdef H5_HAVE_THREADSAFE
@@ -1251,7 +1251,7 @@ H5is_library_terminating(bool *is_terminating /*out*/)
herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_API_NOINIT
- H5TRACE1("e", "x", is_terminating);
+ H5TRACE1("e", "*b", is_terminating);
assert(is_terminating);