summaryrefslogtreecommitdiffstats
path: root/src/H5E.c
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2010-10-07 20:00:57 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2010-10-07 20:00:57 (GMT)
commit9df4fe0a8787dd2e7a24c0b8fa5624dc00a18676 (patch)
tree65254d4eb620b4be7b4c9d3e134ef7cde202ec26 /src/H5E.c
parent011db9e56cb2c2ba4d872eb8208ce604363e9fad (diff)
downloadhdf5-9df4fe0a8787dd2e7a24c0b8fa5624dc00a18676.zip
hdf5-9df4fe0a8787dd2e7a24c0b8fa5624dc00a18676.tar.gz
hdf5-9df4fe0a8787dd2e7a24c0b8fa5624dc00a18676.tar.bz2
[svn-r19539] Bug 1707 - I added some comments.
Tested on jam - simple change.
Diffstat (limited to 'src/H5E.c')
-rw-r--r--src/H5E.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5E.c b/src/H5E.c
index 5e042c5..50509b8 100644
--- a/src/H5E.c
+++ b/src/H5E.c
@@ -180,9 +180,9 @@ H5E_set_default_auto(H5E_t *stk)
stk->auto_op.func1 = stk->auto_op.func1_default = (H5E_auto1_t)H5Eprint1;
stk->auto_op.func2 = stk->auto_op.func2_default = (H5E_auto2_t)H5Eprint2;
stk->auto_op.is_default = TRUE;
-#else
+#else /* H5_NO_DEPRECATED_SYMBOLS */
stk->auto_op.func2 = (H5E_auto2_t)H5Eprint2;
-#endif
+#endif /* H5_NO_DEPRECATED_SYMBOLS */
stk->auto_data = NULL;
@@ -1595,7 +1595,7 @@ H5Eget_auto2(hid_t estack_id, H5E_auto2_t *func, void **client_data)
/* Fail if the printing function isn't the default(user-set) and set through H5Eset_auto1 */
if(!op.is_default && op.vers == 1)
HGOTO_ERROR(H5E_ERROR, H5E_CANTGET, FAIL, "wrong API function, H5Eset_auto1 has been called")
-#endif
+#endif /* H5_NO_DEPRECATED_SYMBOLS */
if(func)
*func = op.func2;
@@ -1661,7 +1661,7 @@ H5Eset_auto2(hid_t estack_id, H5E_auto2_t func, void *client_data)
op.is_default = TRUE;
op.vers = 2;
-#endif
+#endif /* H5_NO_DEPRECATED_SYMBOLS */
/* Set the automatic error reporting function */
op.func2 = func;