From 162e324e8271d5ac11936f9fbcc0aa6fdb56e31f Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Mon, 30 Jul 2001 03:35:45 -0500 Subject: [svn-r4271] Purpose: Revised the section of H5check_version(). Platforms tested: IE 5 displayed. --- doc/html/RM_H5.html | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/doc/html/RM_H5.html b/doc/html/RM_H5.html index 4fcb97b..9f12296 100644 --- a/doc/html/RM_H5.html +++ b/doc/html/RM_H5.html @@ -300,7 +300,8 @@ facilitate moving easily between them.

First, the function is intended to be called by the user to verify that the version of the header files compiled into an application - matches the version of the HDF5 library being used. + matches the version of the HDF5 library being used. One may look at + the H5check() definition in H5public.h as an example.

Due to the risks of data corruption or segmentation faults, H5check_version causes the application to abort if the @@ -310,22 +311,24 @@ facilitate moving easily between them.

Note that H5check_version verifies only the major and minor version numbers and the release number; - it does not verify the sub-release number as that should be + it does not verify the sub-release value as that should be an empty string for any official release. + This means that any two incompatible library versions must + have different {major,minor,release} numbers. (Notice the + reverse is not necessarily true.)

- If the function passes the above test and does not generate an abort() call, the function's second purpose comes into play. @@ -349,6 +352,7 @@ facilitate moving easily between them. the 1 is the major version number, majnum; the 1 is the minor version number, minnum; and the 1 is the release number, relnum. +-->

Parameters:
unsigned majnum -- cgit v0.12