From beb7428f68efbdb27c5ae06705c7eff04d8d4cc7 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Thu, 29 Nov 2018 08:26:25 -0600 Subject: Switch H5VL_class_value_t from unsigned to int, and add "invalid" ID value. --- src/H5VLpublic.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/H5VLpublic.h b/src/H5VLpublic.h index ae423bb..b276128 100644 --- a/src/H5VLpublic.h +++ b/src/H5VLpublic.h @@ -356,9 +356,10 @@ typedef struct H5VL_request_class_t { * filters. Subsequent values should be obtained from the HDF5 development * team at help@hdfgroup.org. */ -typedef unsigned H5VL_class_value_t; +typedef int H5VL_class_value_t; /* VOL connector identifier values */ +#define H5_VOL_INVALID (-1) /* Invalid ID for VOL connector iD */ #define H5_VOL_NATIVE 0 /* Native HDF5 file formnat VOL connector */ #define H5_VOL_RESERVED 256 /* VOL connector IDs below this value are reserved for library use */ #define H5_VOL_MAX 65535 /* Maximum VOL connector ID */ -- cgit v0.12