summaryrefslogtreecommitdiffstats
path: root/src/H5Tpublic.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-01-13 13:15:49 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-01-13 13:15:49 (GMT)
commit8e391ad35a1ede1ac046f05710297aa40986642b (patch)
tree247faeeacb9925beb90b6b8c10f0d875f93ed155 /src/H5Tpublic.h
parentc3a1173026916e25a5a44f1d4255b889ccbaeb2b (diff)
downloadhdf5-8e391ad35a1ede1ac046f05710297aa40986642b.zip
hdf5-8e391ad35a1ede1ac046f05710297aa40986642b.tar.gz
hdf5-8e391ad35a1ede1ac046f05710297aa40986642b.tar.bz2
[svn-r6269] Purpose:
Code cleanup Description: Various code cleanups to allow the development branch to be compiled with a C++ compiler (i.e. CC=g++ ) Platforms tested: Tested h5committest {arabica (fortran), eirene (fortran, C++) modi4 (parallel, fortran)} FreeBSD 4.7 (sleipnir) C++
Diffstat (limited to 'src/H5Tpublic.h')
-rw-r--r--src/H5Tpublic.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5Tpublic.h b/src/H5Tpublic.h
index a96d2bb..cd7bc9b 100644
--- a/src/H5Tpublic.h
+++ b/src/H5Tpublic.h
@@ -174,6 +174,10 @@ typedef struct {
/* Variable Length String information */
#define H5T_VARIABLE ((size_t)(-1)) /* Indicate that a string is variable length (null-terminated in C, instead of fixed length) */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* All data type conversion functions are... */
typedef herr_t (*H5T_conv_t) (hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata,
hsize_t nelmts, size_t buf_stride, size_t bkg_stride, void *buf,
@@ -192,10 +196,6 @@ typedef herr_t (*H5T_overflow_t)(hid_t src_id, hid_t dst_id,
void *src_buf, void *dst_buf);
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/* When this header is included from H5Tprivate.h, don't make calls to H5open() */
#undef H5OPEN
#ifndef _H5Tprivate_H