diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2003-10-08 18:11:50 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2003-10-08 18:11:50 (GMT) |
commit | 25fe6cbafa93a3c4eebe46fe9ffbf3d41903ab16 (patch) | |
tree | f24151a98c6f03d0167bf43054090db4f0196d9b /tools/h5import/h5import.h | |
parent | 48b4a56d934088305d710358405aa44f4af9eaf7 (diff) | |
download | hdf5-25fe6cbafa93a3c4eebe46fe9ffbf3d41903ab16.zip hdf5-25fe6cbafa93a3c4eebe46fe9ffbf3d41903ab16.tar.gz hdf5-25fe6cbafa93a3c4eebe46fe9ffbf3d41903ab16.tar.bz2 |
[svn-r7574] Purpose:
Code Improvement
Description:
Changed from passing a structure into a function by value into
passing it in by pointer. Noticed this while compiling with a highly
optimizing compiler which took >30 minutes to analyze the program
(granted, this is the compiler's fault, but in general, it's better
to pass large structures in by pointer and not by value).
Platforms tested:
Linux (specific to h5import, so only needed to test on one platform)
Misc. update:
Diffstat (limited to 'tools/h5import/h5import.h')
-rwxr-xr-x | tools/h5import/h5import.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5import/h5import.h b/tools/h5import/h5import.h index 2f968b7..353e548 100755 --- a/tools/h5import/h5import.h +++ b/tools/h5import/h5import.h @@ -215,8 +215,8 @@ static int readIntegerData(FILE **strm, struct Input *in); static int readFloatData(FILE **strm, struct Input *in); static int allocateIntegerStorage(struct Input *in); static int allocateFloatStorage(struct Input *in); -hid_t createOutputDataType(struct Input in); -hid_t createInputDataType(struct Input in); +hid_t createOutputDataType(struct Input *in); +hid_t createInputDataType(struct Input *in); static int readUIntegerData(FILE **strm, struct Input *in); static int allocateUIntegerStorage(struct Input *in); static int validateConfigurationParameters(struct Input * in); |