H5LIB_PROVISIONAL

[ Top ] [ Modules ]

NAME

  MODULE H5LIB_PROVISIONAL

PURPOSE

  This file contains helper functions for Fortran 2003 features and is
  only compiled when Fortran 2003 features are enabled, otherwise
  the file H5_ff_F90.f90 is compiled.

NOTES

                         *** IMPORTANT ***
  If you add a new function you must add the function name to the
  Windows dll file 'hdf5_fortrandll.def' in the fortran/src directory.
  This is needed for Windows based operating systems.

h5offsetof

[ Top ] [ H5LIB_PROVISIONAL ] [ Functions ]

NAME

  h5offsetof

PURPOSE

  Computes the offset in memory

INPUTS

  start - starting pointer address
  end   - ending pointer address

OUTPUTS

  offset - offset

AUTHOR

  M. Scot Breitenfeld
  Augest 25, 2008

SOURCE

  FUNCTION h5offsetof(start,end) RESULT(offset)
    USE, INTRINSIC :: ISO_C_BINDING
    USE H5GLOBAL
    IMPLICIT NONE
    INTEGER(SIZE_T) :: offset
    TYPE(C_PTR), VALUE, INTENT(IN) :: start, end