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/H5Pgcpl.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/H5Pgcpl.c')
-rw-r--r-- | src/H5Pgcpl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5Pgcpl.c b/src/H5Pgcpl.c index 364955b..bcf9e8f 100644 --- a/src/H5Pgcpl.c +++ b/src/H5Pgcpl.c @@ -187,7 +187,7 @@ H5Pget_local_heap_size_hint(hid_t plist_id, size_t *size_hint /*out*/) herr_t ret_value = SUCCEED; /* return value */ FUNC_ENTER_API(FAIL) - H5TRACE2("e", "ix", plist_id, size_hint); + H5TRACE2("e", "i*z", plist_id, size_hint); if (size_hint) { H5P_genplist_t *plist; /* Property list pointer */ @@ -282,7 +282,7 @@ H5Pget_link_phase_change(hid_t plist_id, unsigned *max_compact /*out*/, unsigned herr_t ret_value = SUCCEED; /* return value */ FUNC_ENTER_API(FAIL) - H5TRACE3("e", "ixx", plist_id, max_compact, min_dense); + H5TRACE3("e", "i*Iu*Iu", plist_id, max_compact, min_dense); /* Get values */ if (max_compact || min_dense) { @@ -380,7 +380,7 @@ H5Pget_est_link_info(hid_t plist_id, unsigned *est_num_entries /*out*/, unsigned herr_t ret_value = SUCCEED; /* return value */ FUNC_ENTER_API(FAIL) - H5TRACE3("e", "ixx", plist_id, est_num_entries, est_name_len); + H5TRACE3("e", "i*Iu*Iu", plist_id, est_num_entries, est_name_len); /* Get values */ if (est_num_entries || est_name_len) { @@ -464,7 +464,7 @@ H5Pget_link_creation_order(hid_t plist_id, unsigned *crt_order_flags /*out*/) herr_t ret_value = SUCCEED; /* return value */ FUNC_ENTER_API(FAIL) - H5TRACE2("e", "ix", plist_id, crt_order_flags); + H5TRACE2("e", "i*Iu", plist_id, crt_order_flags); /* Get values */ if (crt_order_flags) { |