summaryrefslogtreecommitdiffstats
path: root/hl/c++/src
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2016-04-15 19:08:28 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2016-04-15 19:08:28 (GMT)
commitbd4d0d62bdf902820b1f5ae4c09f8347b6b5f04e (patch)
tree6e81e7b13a35e1015e83b611bce06950b4fa9580 /hl/c++/src
parent57b7130acf69256ddaee7c6295a65c6ba16e3096 (diff)
downloadhdf5-bd4d0d62bdf902820b1f5ae4c09f8347b6b5f04e.zip
hdf5-bd4d0d62bdf902820b1f5ae4c09f8347b6b5f04e.tar.gz
hdf5-bd4d0d62bdf902820b1f5ae4c09f8347b6b5f04e.tar.bz2
[svn-r29710] Purpose: Code improvements
Description: - Replaced "goto out" and "out:" with "goto error" and "error:" to indicate the failure situations. - Replaced old-style casts with static_cast to remove warnings. Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)
Diffstat (limited to 'hl/c++/src')
-rw-r--r--hl/c++/src/H5PacketTable.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/hl/c++/src/H5PacketTable.cpp b/hl/c++/src/H5PacketTable.cpp
index 50e11f6..b033790 100644
--- a/hl/c++/src/H5PacketTable.cpp
+++ b/hl/c++/src/H5PacketTable.cpp
@@ -130,7 +130,7 @@
/* GetDatatype
* Returns the datatype identifier used by the packet table, on success,
- * or FAIL, on failure.
+ * or H5I_INVALID_HID, on failure.
* Note: it is best to avoid using this identifier in applications, unless
* the desired functionality cannot be performed via the packet table ID.
*/
@@ -141,7 +141,7 @@
/* GetDataset
* Returns the dataset identifier associated with the packet table, on
- * success, or FAIL, on failure.
+ * success, or H5I_INVALID_HID, on failure.
* Note: it is best to avoid using this identifier in applications, unless
* the desired functionality cannot be performed via the packet table ID.
*/