summaryrefslogtreecommitdiffstats
path: root/src/H5Tpublic.h
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-01-30 19:25:44 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-01-30 19:25:44 (GMT)
commitb227b388533896337f436f01763ad26def14844c (patch)
tree4771c187539c0f8bd36572914b63b0137fde2ea8 /src/H5Tpublic.h
parent0a7b2071a0589bef1abf8fd1b2f7cd470312d7f9 (diff)
downloadhdf5-b227b388533896337f436f01763ad26def14844c.zip
hdf5-b227b388533896337f436f01763ad26def14844c.tar.gz
hdf5-b227b388533896337f436f01763ad26def14844c.tar.bz2
[svn-r204] Changes since 19980129
---------------------- ./RELEASE Added Library functions that I missed the first time. ./html/Datasets.html Added an example for Elena's question about how to read a single member of a compound data type so it becomes an array of that member in memory. ./src/H5Pprivate.h Fixed the prototype for H5P_get_hyperslab() to match the definition. ./src/H5Psimp.c Oops, added the kludge back in for the offset argument, which is still an `intn' instead of a `size_t'. ./src/H5.c ./src/H5public.h ./src/H5F.c ./src/H5T.c ./src/H5Tpublic.h Changed H5init() to H5open() and added an H5close() to fit our create/open/close paradigm. The H5open() happens automatically on the first call to the HDF5 library. The H5close() happens automatically on exit() (unless the app turns off that feature). H5close() closes all datasets and files and releases all resources used by the library. ./test/dsets.c Added calls to H5open() and H5close() to test them. ./test/dtypes.c Removed call to H5init() since we no longer need it there. ./src/H5Fstdio.c Changed the PABLO_MASK to the right value. Thanks Kim.
Diffstat (limited to 'src/H5Tpublic.h')
-rw-r--r--src/H5Tpublic.h52
1 files changed, 26 insertions, 26 deletions
diff --git a/src/H5Tpublic.h b/src/H5Tpublic.h
index 03becfa..1515206 100644
--- a/src/H5Tpublic.h
+++ b/src/H5Tpublic.h
@@ -121,32 +121,32 @@ typedef herr_t (*H5T_conv_t) (hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata,
size_t nelmts, void *buf, void *bkg);
/* The predefined types */
-#define H5T_NATIVE_CHAR (H5init(), H5T_NATIVE_CHAR_g)
-#define H5T_NATIVE_UCHAR (H5init(), H5T_NATIVE_UCHAR_g)
-#define H5T_NATIVE_SHORT (H5init(), H5T_NATIVE_SHORT_g)
-#define H5T_NATIVE_USHORT (H5init(), H5T_NATIVE_USHORT_g)
-#define H5T_NATIVE_INT (H5init(), H5T_NATIVE_INT_g)
-#define H5T_NATIVE_UINT (H5init(), H5T_NATIVE_UINT_g)
-#define H5T_NATIVE_LONG (H5init(), H5T_NATIVE_LONG_g)
-#define H5T_NATIVE_ULONG (H5init(), H5T_NATIVE_ULONG_g)
-#define H5T_NATIVE_LLONG (H5init(), H5T_NATIVE_LLONG_g)
-#define H5T_NATIVE_ULLONG (H5init(), H5T_NATIVE_ULLONG_g)
-#define H5T_NATIVE_HYPER (H5init(), H5T_NATIVE_HYPER_g)
-#define H5T_NATIVE_UHYPER (H5init(), H5T_NATIVE_UHYPER_g)
-#define H5T_NATIVE_INT8 (H5init(), H5T_NATIVE_INT8_g)
-#define H5T_NATIVE_UINT8 (H5init(), H5T_NATIVE_UINT8_g)
-#define H5T_NATIVE_INT16 (H5init(), H5T_NATIVE_INT16_g)
-#define H5T_NATIVE_UINT16 (H5init(), H5T_NATIVE_UINT16_g)
-#define H5T_NATIVE_INT32 (H5init(), H5T_NATIVE_INT32_g)
-#define H5T_NATIVE_UINT32 (H5init(), H5T_NATIVE_UINT32_g)
-#define H5T_NATIVE_INT64 (H5init(), H5T_NATIVE_INT64_g)
-#define H5T_NATIVE_UINT64 (H5init(), H5T_NATIVE_UINT64_g)
-#define H5T_NATIVE_FLOAT (H5init(), H5T_NATIVE_FLOAT_g)
-#define H5T_NATIVE_DOUBLE (H5init(), H5T_NATIVE_DOUBLE_g)
-#define H5T_NATIVE_TIME (H5init(), H5T_NATIVE_TIME_g)
-#define H5T_NATIVE_STRING (H5init(), H5T_NATIVE_STRING_g)
-#define H5T_NATIVE_BITFIELD (H5init(), H5T_NATIVE_BITFIELD_g)
-#define H5T_NATIVE_OPAQUE (H5init(), H5T_NATIVE_OPAQUE_g)
+#define H5T_NATIVE_CHAR (H5open(), H5T_NATIVE_CHAR_g)
+#define H5T_NATIVE_UCHAR (H5open(), H5T_NATIVE_UCHAR_g)
+#define H5T_NATIVE_SHORT (H5open(), H5T_NATIVE_SHORT_g)
+#define H5T_NATIVE_USHORT (H5open(), H5T_NATIVE_USHORT_g)
+#define H5T_NATIVE_INT (H5open(), H5T_NATIVE_INT_g)
+#define H5T_NATIVE_UINT (H5open(), H5T_NATIVE_UINT_g)
+#define H5T_NATIVE_LONG (H5open(), H5T_NATIVE_LONG_g)
+#define H5T_NATIVE_ULONG (H5open(), H5T_NATIVE_ULONG_g)
+#define H5T_NATIVE_LLONG (H5open(), H5T_NATIVE_LLONG_g)
+#define H5T_NATIVE_ULLONG (H5open(), H5T_NATIVE_ULLONG_g)
+#define H5T_NATIVE_HYPER (H5open(), H5T_NATIVE_HYPER_g)
+#define H5T_NATIVE_UHYPER (H5open(), H5T_NATIVE_UHYPER_g)
+#define H5T_NATIVE_INT8 (H5open(), H5T_NATIVE_INT8_g)
+#define H5T_NATIVE_UINT8 (H5open(), H5T_NATIVE_UINT8_g)
+#define H5T_NATIVE_INT16 (H5open(), H5T_NATIVE_INT16_g)
+#define H5T_NATIVE_UINT16 (H5open(), H5T_NATIVE_UINT16_g)
+#define H5T_NATIVE_INT32 (H5open(), H5T_NATIVE_INT32_g)
+#define H5T_NATIVE_UINT32 (H5open(), H5T_NATIVE_UINT32_g)
+#define H5T_NATIVE_INT64 (H5open(), H5T_NATIVE_INT64_g)
+#define H5T_NATIVE_UINT64 (H5open(), H5T_NATIVE_UINT64_g)
+#define H5T_NATIVE_FLOAT (H5open(), H5T_NATIVE_FLOAT_g)
+#define H5T_NATIVE_DOUBLE (H5open(), H5T_NATIVE_DOUBLE_g)
+#define H5T_NATIVE_TIME (H5open(), H5T_NATIVE_TIME_g)
+#define H5T_NATIVE_STRING (H5open(), H5T_NATIVE_STRING_g)
+#define H5T_NATIVE_BITFIELD (H5open(), H5T_NATIVE_BITFIELD_g)
+#define H5T_NATIVE_OPAQUE (H5open(), H5T_NATIVE_OPAQUE_g)
#ifdef __cplusplus
extern "C" {