diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2016-12-29 15:42:49 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2016-12-29 15:42:49 (GMT) |
commit | 890e1f3263c450fe6ed4f65f7bbdb46f456a8098 (patch) | |
tree | ce5c39b3ab9b9f5bc772e609d7dccc03914af7bc | |
parent | affa32b149188404f370c51cb583f32f60717678 (diff) | |
parent | 441c8ea43ab6a6559d1f167bdfbbaf3720621804 (diff) | |
download | hdf5-890e1f3263c450fe6ed4f65f7bbdb46f456a8098.zip hdf5-890e1f3263c450fe6ed4f65f7bbdb46f456a8098.tar.gz hdf5-890e1f3263c450fe6ed4f65f7bbdb46f456a8098.tar.bz2 |
Merge pull request #200 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:name_macros to develop
Merged naming check improvement in function enter macros.
* commit '441c8ea43ab6a6559d1f167bdfbbaf3720621804':
Added text to the function check macros so that a more helpful error message is emitted when there is a problem.
-rw-r--r-- | src/H5private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5private.h b/src/H5private.h index 47f6d78..00de96c 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -1973,7 +1973,7 @@ extern hbool_t H5_MPEinit_g; /* Has the MPE Library been initialized? */ \ if(!func_check) { \ /* Check function naming status */ \ - HDassert(asrt); \ + HDassert(asrt && "Function naming conventions are incorrect - check H5_IS_API|PUB|PRIV|PKG macros in H5private.h (this is usually due to an incorrect number of underscores)"); \ \ /* Don't check again */ \ func_check = TRUE; \ |