diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/h5_elink_unix2win.c | 6 | ||||
-rw-r--r-- | examples/h5_extlink.c | 18 |
2 files changed, 12 insertions, 12 deletions
diff --git a/examples/h5_elink_unix2win.c b/examples/h5_elink_unix2win.c index 35ab271..b354661 100644 --- a/examples/h5_elink_unix2win.c +++ b/examples/h5_elink_unix2win.c @@ -118,9 +118,9 @@ error: return -1; } -const H5L_link_class_t elink_unix2win_class[1] = {{ - H5L_LINK_CLASS_T_VERS, /* H5L_link_class_t version */ - H5L_LINK_EXTERNAL, /* Link type id number */ +const H5L_class_t elink_unix2win_class[1] = {{ + H5L_LINK_CLASS_T_VERS, /* H5L_class_t version */ + H5L_TYPE_EXTERNAL, /* Link type id number */ "unix2win external link", /* Link class name for debugging */ NULL, /* Creation callback */ NULL, /* Move callback */ diff --git a/examples/h5_extlink.c b/examples/h5_extlink.c index 92ac398..45dc01f 100644 --- a/examples/h5_extlink.c +++ b/examples/h5_extlink.c @@ -219,12 +219,12 @@ void soft_link_example() * A link class can have NULL for any callback except its traverse * callback. */ - const H5L_link_class_t UD_soft_class[1] = {{ + const H5L_class_t UD_soft_class[1] = {{ H5L_LINK_CLASS_T_VERS, /* Version number for this struct. * This field is always H5L_LINK_CLASS_T_VERS */ UD_SOFT_CLASS, /* Link class id number. This can be any - * value between H5L_LINK_UD_MIN (64) and - * H5L_LINK_MAX (255). It should be a + * value between H5L_TYPE_UD_MIN (64) and + * H5L_TYPE_MAX (255). It should be a * value that isn't already being used by * another kind of link. We'll use 65. */ "UD_soft_link", /* Link class name for debugging */ @@ -318,12 +318,12 @@ void hard_link_example() * A link class can have NULL for any callback except its traverse * callback. */ - const H5L_link_class_t UD_hard_class[1] = {{ + const H5L_class_t UD_hard_class[1] = {{ H5L_LINK_CLASS_T_VERS, /* Version number for this struct. * This field is always H5L_LINK_CLASS_T_VERS */ UD_HARD_CLASS, /* Link class id number. This can be any - * value between H5L_LINK_UD_MIN (64) and - * H5L_LINK_MAX (255). It should be a + * value between H5L_TYPE_UD_MIN (64) and + * H5L_TYPE_MAX (255). It should be a * value that isn't already being used by * another kind of link. We'll use 66. */ "UD_hard_link", /* Link class name for debugging */ @@ -533,12 +533,12 @@ void plist_link_example() * A link class can have NULL for any callback except its traverse * callback. */ - const H5L_link_class_t UD_plist_class[1] = {{ + const H5L_class_t UD_plist_class[1] = {{ H5L_LINK_CLASS_T_VERS, /* Version number for this struct. * This field is always H5L_LINK_CLASS_T_VERS */ UD_PLIST_CLASS, /* Link class id number. This can be any - * value between H5L_LINK_UD_MIN (64) and - * H5L_LINK_MAX (255). It should be a + * value between H5L_TYPE_UD_MIN (64) and + * H5L_TYPE_MAX (255). It should be a * value that isn't already being used by * another kind of link. We'll use 67. */ "UD_plist_link", /* Link class name for debugging */ |