summaryrefslogtreecommitdiffstats
path: root/src/H5version.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-07-12 20:21:57 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-07-12 20:21:57 (GMT)
commita73ea1b4f06635fa712d93f3d956fbede0bd8294 (patch)
treed945f18cd2e2797ca7e881367d4ba86cf892ce79 /src/H5version.h
parent1e91849e851e7b332bffc7dd1730f20f2eb17cd7 (diff)
downloadhdf5-a73ea1b4f06635fa712d93f3d956fbede0bd8294.zip
hdf5-a73ea1b4f06635fa712d93f3d956fbede0bd8294.tar.gz
hdf5-a73ea1b4f06635fa712d93f3d956fbede0bd8294.tar.bz2
[svn-r13969] Description:
Initial checkin of API version macro generation script (bin/make_vers), along with configuration file (src/H5vers.txt) and generated header (src/H5version.h). Right now, no version macros are defined, since the main source code and tests need to be adjusted to pay attention to the macros defined. Also, fixed makefile for generating error header files when used with GNU make. Tested on: Mac OS X/32 10.4.10 (amazon) Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
Diffstat (limited to 'src/H5version.h')
-rw-r--r--src/H5version.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/H5version.h b/src/H5version.h
new file mode 100644
index 0000000..a74857b
--- /dev/null
+++ b/src/H5version.h
@@ -0,0 +1,44 @@
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Copyright by The HDF Group. *
+ * Copyright by the Board of Trustees of the University of Illinois. *
+ * All rights reserved. *
+ * *
+ * This file is part of HDF5. The full HDF5 copyright notice, including *
+ * terms governing use, modification, and redistribution, is contained in *
+ * the files COPYING and Copyright.html. COPYING can be found at the root *
+ * of the source code distribution tree; Copyright.html can be found at the *
+ * root level of an installed copy of the electronic HDF5 document set and *
+ * is linked from the top-level documents page. It can also be found at *
+ * http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have *
+ * access to either file, you may request a copy from help@hdfgroup.org. *
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+
+/* Generated automatically by bin/make_vers -- do not edit */
+/* Add new versioned symbols to H5vers.txt file */
+
+
+#ifndef _H5version_H
+#define _H5version_H
+
+/* Issue error if contradicting macros have been defined. */
+#if defined(H5_USE_16_API) && defined(H5_WITHOUT_DEPRECATED_APIS)
+#error "Can't choose old API versions when deprecated APIs are disabled"
+#endif /* defined(H5_USE_16_API) && defined(H5_WITHOUT_DEPRECATED_APIS) */
+
+/* If a particular "global" version of the library's interfaces is chosen,
+ * set the versions for the API routines affected.
+ *
+ * Note: If an application has already chosen a particular version for an
+ * API routine, the individual API version macro takes priority.
+ */
+#ifdef H5_USE_16_API
+#endif /* H5_USE_16_API */
+
+/* Choose the correct version of each API routine, defaulting to the latest
+ * version of each API routine. The "best" name for API parameters/data
+ * structures that have changed definitions is also set. An error is
+ * issued for specifying an invalid API version.
+ */
+
+#endif /* H5version_H */
+