diff options
Diffstat (limited to 'src/H5Tpublic.h')
-rw-r--r-- | src/H5Tpublic.h | 8 |
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 |