summaryrefslogtreecommitdiffstats
path: root/src/H5Tpublic.h
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1999-06-11 15:53:15 (GMT)
committerRobb Matzke <matzke@llnl.gov>1999-06-11 15:53:15 (GMT)
commit263bfa76ef70a96d195527b0063a929f2b57b78a (patch)
tree11760ef28ae04a24075cb71dfc0b78ed4d7fba05 /src/H5Tpublic.h
parentd6ba8a5095103b5799cd6aef4f291af275dca08d (diff)
downloadhdf5-263bfa76ef70a96d195527b0063a929f2b57b78a.zip
hdf5-263bfa76ef70a96d195527b0063a929f2b57b78a.tar.gz
hdf5-263bfa76ef70a96d195527b0063a929f2b57b78a.tar.bz2
[svn-r1328] Changes since 19990608
---------------------- ./configure.in ./configure [REGENERATED] ./src/H5T.c ./src/H5Tpkg.h ./src/H5Tpublic.h ./src/H5config.h.in [REGENERATED] ./src/H5detect.c ./src/H5private.h Added checks for the C9x integer types like int32_t, int_least32_t, and int_fast32_t and the unsigned versions. HDF5 defines H5T_NATIVE_* versions (all caps) to be the same as the type provided by the C library, otherwise it defines them as integers exactly the specified size. Hardware type conversion functions are used when the types match some C-language type (like `int').
Diffstat (limited to 'src/H5Tpublic.h')
-rw-r--r--src/H5Tpublic.h55
1 files changed, 54 insertions, 1 deletions
diff --git a/src/H5Tpublic.h b/src/H5Tpublic.h
index db5e2a6..e208351 100644
--- a/src/H5Tpublic.h
+++ b/src/H5Tpublic.h
@@ -382,7 +382,60 @@ __DLLVAR__ hid_t H5T_NATIVE_HSIZE_g;
__DLLVAR__ hid_t H5T_NATIVE_HSSIZE_g;
__DLLVAR__ hid_t H5T_NATIVE_HERR_g;
__DLLVAR__ hid_t H5T_NATIVE_HBOOL_g;
-
+
+/* C9x integer types */
+#define H5T_NATIVE_INT8_T (H5open(), H5T_NATIVE_INT8_T_g)
+#define H5T_NATIVE_UINT8_T (H5open(), H5T_NATIVE_UINT8_T_g)
+#define H5T_NATIVE_INT_LEAST8_T (H5open(), H5T_NATIVE_INT_LEAST8_T_g)
+#define H5T_NATIVE_UINT_LEAST8_T (H5open(), H5T_NATIVE_UINT_LEAST8_T_g)
+#define H5T_NATIVE_INT_FAST8_T (H5open(), H5T_NATIVE_INT_FAST8_T_g)
+#define H5T_NATIVE_UINT_FAST8_T (H5open(), H5T_NATIVE_UINT_FAST8_T_g)
+__DLLVAR__ hid_t H5T_NATIVE_INT8_T_g;
+__DLLVAR__ hid_t H5T_NATIVE_UINT8_T_g;
+__DLLVAR__ hid_t H5T_NATIVE_INT_LEAST8_T_g;
+__DLLVAR__ hid_t H5T_NATIVE_UINT_LEAST8_T_g;
+__DLLVAR__ hid_t H5T_NATIVE_INT_FAST8_T_g;
+__DLLVAR__ hid_t H5T_NATIVE_UINT_FAST8_T_g;
+
+#define H5T_NATIVE_INT16_T (H5open(), H5T_NATIVE_INT16_T_g)
+#define H5T_NATIVE_UINT16_T (H5open(), H5T_NATIVE_UINT16_T_g)
+#define H5T_NATIVE_INT_LEAST16_T (H5open(), H5T_NATIVE_INT_LEAST16_T_g)
+#define H5T_NATIVE_UINT_LEAST16_T (H5open(), H5T_NATIVE_UINT_LEAST16_T_g)
+#define H5T_NATIVE_INT_FAST16_T (H5open(), H5T_NATIVE_INT_FAST16_T_g)
+#define H5T_NATIVE_UINT_FAST16_T (H5open(), H5T_NATIVE_UINT_FAST16_T_g)
+__DLLVAR__ hid_t H5T_NATIVE_INT16_T_g;
+__DLLVAR__ hid_t H5T_NATIVE_UINT16_T_g;
+__DLLVAR__ hid_t H5T_NATIVE_INT_LEAST16_T_g;
+__DLLVAR__ hid_t H5T_NATIVE_UINT_LEAST16_T_g;
+__DLLVAR__ hid_t H5T_NATIVE_INT_FAST16_T_g;
+__DLLVAR__ hid_t H5T_NATIVE_UINT_FAST16_T_g;
+
+#define H5T_NATIVE_INT32_T (H5open(), H5T_NATIVE_INT32_T_g)
+#define H5T_NATIVE_UINT32_T (H5open(), H5T_NATIVE_UINT32_T_g)
+#define H5T_NATIVE_INT_LEAST32_T (H5open(), H5T_NATIVE_INT_LEAST32_T_g)
+#define H5T_NATIVE_UINT_LEAST32_T (H5open(), H5T_NATIVE_UINT_LEAST32_T_g)
+#define H5T_NATIVE_INT_FAST32_T (H5open(), H5T_NATIVE_INT_FAST32_T_g)
+#define H5T_NATIVE_UINT_FAST32_T (H5open(), H5T_NATIVE_UINT_FAST32_T_g)
+__DLLVAR__ hid_t H5T_NATIVE_INT32_T_g;
+__DLLVAR__ hid_t H5T_NATIVE_UINT32_T_g;
+__DLLVAR__ hid_t H5T_NATIVE_INT_LEAST32_T_g;
+__DLLVAR__ hid_t H5T_NATIVE_UINT_LEAST32_T_g;
+__DLLVAR__ hid_t H5T_NATIVE_INT_FAST32_T_g;
+__DLLVAR__ hid_t H5T_NATIVE_UINT_FAST32_T_g;
+
+#define H5T_NATIVE_INT64_T (H5open(), H5T_NATIVE_INT64_T_g)
+#define H5T_NATIVE_UINT64_T (H5open(), H5T_NATIVE_UINT64_T_g)
+#define H5T_NATIVE_INT_LEAST64_T (H5open(), H5T_NATIVE_INT_LEAST64_T_g)
+#define H5T_NATIVE_UINT_LEAST64_T (H5open(), H5T_NATIVE_UINT_LEAST64_T_g)
+#define H5T_NATIVE_INT_FAST64_T (H5open(), H5T_NATIVE_INT_FAST64_T_g)
+#define H5T_NATIVE_UINT_FAST64_T (H5open(), H5T_NATIVE_UINT_FAST64_T_g)
+__DLLVAR__ hid_t H5T_NATIVE_INT64_T_g;
+__DLLVAR__ hid_t H5T_NATIVE_UINT64_T_g;
+__DLLVAR__ hid_t H5T_NATIVE_INT_LEAST64_T_g;
+__DLLVAR__ hid_t H5T_NATIVE_UINT_LEAST64_T_g;
+__DLLVAR__ hid_t H5T_NATIVE_INT_FAST64_T_g;
+__DLLVAR__ hid_t H5T_NATIVE_UINT_FAST64_T_g;
+
/* Operations defined on all data types */
__DLL__ hid_t H5Topen(hid_t loc_id, const char *name);
__DLL__ hid_t H5Tcreate(H5T_class_t type, size_t size);