[svn-r3569] Purpose:

Update
Description:
    Changed name of h5tools functions.
Solution:
    Changed

         h5dump_fixtype() -> h5tools_fixtype()

Platforms tested:
    Linux
This commit is contained in:
Bill Wendling 2001-03-08 15:17:12 -05:00
parent 8910ca14c4
commit a4cd98c011

View File

@ -1,12 +1,13 @@
/*
* Small program to illustrate the "misalignment" of members within a compound
* datatype, in a datatype fixed by h5dump_fixtype().
* datatype, in a datatype fixed by h5tools_fixtype().
*/
#include <string.h>
#include <stdlib.h>
#include <unistd.h> /* Required for unlink() */
#include "hdf5.h"
#include "h5tools.h"
const char *fname = "talign.h5";
const char *setname = "align";
@ -18,8 +19,6 @@ const char *setname = "align";
* another per construction)
*/
extern hid_t h5dump_fixtype(hid_t);
int main(void)
{
hid_t fil,spc,set;
@ -73,7 +72,7 @@ int main(void)
H5Tinsert(cmp, "Not Ok", sizeof(fok) + sizeof(string5), array_dt);
H5Tclose(array_dt);
fix = h5dump_fixtype(cmp);
fix = h5tools_fixtype(cmp);
cmp1 = H5Tcreate(H5T_COMPOUND, sizeof(fok));