diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-10-20 17:18:53 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-10-20 17:18:53 (GMT) |
commit | d8c33ee5d42f1fdeb8722583d1812edbafa9179d (patch) | |
tree | 6f5a673225d010265bbe1087ad4160639c0a2cfa /src/H5private.h | |
parent | 848ea8370bbc6a496d026266d2b625b8d4d4d98b (diff) | |
download | hdf5-d8c33ee5d42f1fdeb8722583d1812edbafa9179d.zip hdf5-d8c33ee5d42f1fdeb8722583d1812edbafa9179d.tar.gz hdf5-d8c33ee5d42f1fdeb8722583d1812edbafa9179d.tar.bz2 |
[svn-r7672] Purpose:
Code cleanup/refactoring/potential bug fix
Description:
Migrate "template macro" changes from development branch back into this
branch, since they give about a 20% speedup for integer & floating-point type
conversions. The also avoid a potential alignment bug on the Crays...
Platforms tested:
FreeBSD 4.9 (sleipnir)
h5committest not necessary, since the changes are already verified in the
development branch.
Diffstat (limited to 'src/H5private.h')
-rw-r--r-- | src/H5private.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/H5private.h b/src/H5private.h index b72df0a..9b9cf41 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -1325,6 +1325,10 @@ extern hbool_t H5_MPEinit_g; /* Has the MPE Library been initialized? */ # define PABLO_TRACE_OFF(m, f) /*void */ #endif +/* Macro for "glueing" together items, for re-scanning macros */ +#define H5_GLUE(x,y) x##y +#define H5_GLUE3(x,y,z) x##y##z + /* Private functions, not part of the publicly documented API */ H5_DLL herr_t H5_init_library(void); H5_DLL void H5_term_library(void); |