diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-04-29 06:20:50 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-04-29 06:20:50 (GMT) |
commit | cc5b2ff93bc5b81993c104e64f3669a4d8f0c0a5 (patch) | |
tree | 67198d5997628d5a6640a7862ec5c96794e97244 /hl/src/H5LTprivate.h | |
parent | 27496ae0c7b8b1be7165d3720711b15c3a2d1288 (diff) | |
download | hdf5-cc5b2ff93bc5b81993c104e64f3669a4d8f0c0a5.zip hdf5-cc5b2ff93bc5b81993c104e64f3669a4d8f0c0a5.tar.gz hdf5-cc5b2ff93bc5b81993c104e64f3669a4d8f0c0a5.tar.bz2 |
[svn-r12314] Purpose:
Code cleanup
Description:
Big clean up on high-level library code, including:
- Removing include of HDF5 private header file(!)
- Reduce number of compiler warnings
- Untangle header files, etc.
Platforms tested:
FreeBSD 4.11 (sleipnir) w/C++
Linux 2.4/64 (mir) w/C++ & FORTRAN
Diffstat (limited to 'hl/src/H5LTprivate.h')
-rw-r--r-- | hl/src/H5LTprivate.h | 25 |
1 files changed, 5 insertions, 20 deletions
diff --git a/hl/src/H5LTprivate.h b/hl/src/H5LTprivate.h index 22d753c..441c00c 100644 --- a/hl/src/H5LTprivate.h +++ b/hl/src/H5LTprivate.h @@ -15,27 +15,12 @@ #ifndef _H5LTprivate_H #define _H5LTprivate_H -#include "H5private.h" -/* public hdf5 prototypes */ -#include "H5Ipublic.h" -#include "H5Tpublic.h" -#include "H5Spublic.h" -#include "H5Dpublic.h" -#include "H5Ppublic.h" -#include "H5Gpublic.h" -#include "H5Apublic.h" -#include "H5Epublic.h" +/* High-level library internal header file */ +#include "H5HLprivate2.h" + /* public LT prototypes */ #include "H5LTpublic.h" -#define TESTING(WHAT) {printf("%-70s", "Testing " WHAT); fflush(stdout);} -#define TESTING2(WHAT) {printf("%-70s", "Testing " WHAT); fflush(stdout);} -#define TESTING3(WHAT) {printf("%-70s", "" WHAT); fflush(stdout);} -#define PASSED() {puts(" PASSED");fflush(stdout);} -#define H5_FAILED() {puts("*FAILED*");fflush(stdout);} -#define SKIPPED() {puts(" -SKIP-");fflush(stdout);} -#define EXAMPLE(WHAT) {printf("%-70s", "Example " WHAT); fflush(stdout);} - /*------------------------------------------------------------------------- * Private functions *------------------------------------------------------------------------- @@ -60,8 +45,8 @@ H5_HLDLL herr_t H5LT_set_attribute_numerical( hid_t loc_id, const void *data ); H5_HLDLL herr_t H5LT_set_attribute_string( hid_t dset_id, - char *name, - char *buf ); + const char *name, + const char *buf ); H5_HLDLL herr_t H5LT_dtype_to_text(hid_t dtype, char **dt_str, H5LT_lang_t lang, size_t *slen, hbool_t no_user_buf); |