diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-01-13 13:15:49 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-01-13 13:15:49 (GMT) |
commit | 8e391ad35a1ede1ac046f05710297aa40986642b (patch) | |
tree | 247faeeacb9925beb90b6b8c10f0d875f93ed155 /src/H5Ppublic.h | |
parent | c3a1173026916e25a5a44f1d4255b889ccbaeb2b (diff) | |
download | hdf5-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/H5Ppublic.h')
-rw-r--r-- | src/H5Ppublic.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5Ppublic.h b/src/H5Ppublic.h index 3ac1029..abe8e63 100644 --- a/src/H5Ppublic.h +++ b/src/H5Ppublic.h @@ -50,6 +50,10 @@ typedef hid_t H5P_class_t; /* Alias H5P_class_t to hid_t */ #define H5P_DATA_XFER H5P_DATASET_XFER #endif /* H5_WANT_H5_V1_4_COMPAT */ +#ifdef __cplusplus +extern "C" { +#endif + /* Define property list class callback function pointer types */ typedef herr_t (*H5P_cls_create_func_t)(hid_t prop_id, void *create_data); typedef herr_t (*H5P_cls_copy_func_t)(hid_t new_prop_id, hid_t old_prop_id, @@ -69,10 +73,6 @@ typedef H5P_prp_cb1_t H5P_prp_close_func_t; /* Define property list iteration function type */ typedef herr_t (*H5P_iterate_t)(hid_t id, const char *name, void *iter_data); -#ifdef __cplusplus -extern "C" { -#endif - /* * The library created property list classes * |