summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-10-18 03:20:26 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-10-18 03:20:26 (GMT)
commitece7defd50002dd4041ea433dc3bcaae9b1939a6 (patch)
tree3230253800e4868d046998b192bf110a676e19f0 /src/H5private.h
parentfca686260e79ebe706312d6c300c3b4bc912654d (diff)
downloadhdf5-ece7defd50002dd4041ea433dc3bcaae9b1939a6.zip
hdf5-ece7defd50002dd4041ea433dc3bcaae9b1939a6.tar.gz
hdf5-ece7defd50002dd4041ea433dc3bcaae9b1939a6.tar.bz2
[svn-r7662] Purpose:
Refactor integer conversion macros Description: Turned integer conversion macros "inside" out, using an interlocking macro technique similar to templates in C++. The macro which actually performs the conversion is now invoked "genericly" from inside another macro, which will allow the inner conversion loop to be optimized in a much easier way. This "psuedo-template" technique could be useful for other semi-repetitious patterns in the library - possibly the datatype initialization code... Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
Diffstat (limited to 'src/H5private.h')
-rw-r--r--src/H5private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5private.h b/src/H5private.h
index a9d8a98..a523c94 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -1329,6 +1329,9 @@ extern hbool_t H5_MPEinit_g; /* Has the MPE Library been initialized? */
# define PABLO_TRACE_OFF(m, f) /*void */
#endif
+/* Macro for "glueing" together two items, for re-scanning macros */
+#define H5_GLUE(x,y) x##y
+
/* Private functions, not part of the publicly documented API */
H5_DLL herr_t H5_init_library(void);
H5_DLL void H5_term_library(void);