summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-08-03 12:57:29 (GMT)
committerGitHub <noreply@github.com>2023-08-03 12:57:29 (GMT)
commit7fc8531b767855e69fb4016783a1131ba581fd5b (patch)
treea243310b99da59c858ae4eaeed8c452e0177bba4 /doc
parenta77d8bfcd7d066c6759b0346c02cbd612f90b7c2 (diff)
downloadhdf5-7fc8531b767855e69fb4016783a1131ba581fd5b.zip
hdf5-7fc8531b767855e69fb4016783a1131ba581fd5b.tar.gz
hdf5-7fc8531b767855e69fb4016783a1131ba581fd5b.tar.bz2
Merge Made HGOTO_ERROR a do-while loop changes from develop (#3334)
Diffstat (limited to 'doc')
-rw-r--r--doc/getting-started-with-hdf5-development.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/getting-started-with-hdf5-development.md b/doc/getting-started-with-hdf5-development.md
index 04c42dc..0365db7 100644
--- a/doc/getting-started-with-hdf5-development.md
+++ b/doc/getting-started-with-hdf5-development.md
@@ -270,7 +270,7 @@ H5X_do_stuff(/*parameters*/)
HDassert(/*parameter check*/);
if (H5X_other_call() < 0)
- HGOTO_ERROR(H5E_MAJ, H5E_MIN, FAIL, "badness")
+ HGOTO_ERROR(H5E_MAJ, H5E_MIN, FAIL, "badness");
done:
if (ret_value < 0)
@@ -329,12 +329,12 @@ H5Xdo_api_stuff(/*parameters*/)
H5TRACE3(/*stuff*/)
if (/*parameter check*/)
- HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "badness")
+ HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "badness");
/* VOL setup */
if (H5VL_call() < 0)
- HGOTO_ERROR(H5E_FOO, H5E_BAR, FAIL, "badness")
+ HGOTO_ERROR(H5E_FOO, H5E_BAR, FAIL, "badness");
done:
if (ret_value < 0)
@@ -483,7 +483,7 @@ fail. The general format is this:
```c
if (function_that_could_fail(foo, bar) < 0)
- HGOTO_ERROR(H5E_<major>, H5E_<minor>, <bad value>, "tell me about badness")
+ HGOTO_ERROR(H5E_<major>, H5E_<minor>, <bad value>, "tell me about badness");
```
`HGOTO_ERROR` is one of a set of macros defined in `H5Eprivate.h`. This macro