summaryrefslogtreecommitdiffstats
path: root/src/H5Ipublic.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Ipublic.h')
-rw-r--r--src/H5Ipublic.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5Ipublic.h b/src/H5Ipublic.h
index 07ccbaa..b03f2ce 100644
--- a/src/H5Ipublic.h
+++ b/src/H5Ipublic.h
@@ -47,6 +47,9 @@ typedef enum {
/* Type of atoms to return to users */
typedef int hid_t;
+/* An invalid object ID. This is also negative for error return. */
+#define H5I_INVALID_HID (-1)
+
#ifdef __cplusplus
extern "C" {
#endif