mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-24 15:25:00 +08:00
[svn-r24959] Updated the development procedures.
This commit is contained in:
parent
5f4562b2ea
commit
79a891c241
@ -1,13 +1,15 @@
|
||||
Procedure to add a new function:
|
||||
Procedure to add a new function
|
||||
---------------------------------
|
||||
|
||||
(1) Edit the fortran/src/H5*ff.f90 file
|
||||
(2) Edit the fortran/sr/H5*f.c file
|
||||
(2) Edit the fortran/src/H5*f.c file
|
||||
(3) Edit the fortran/src/H5f90proto.h file
|
||||
(4) Add the new function to fortran/src/hdf5_fortrandll.def.in
|
||||
|
||||
Procedure for passing C variables to Fortran
|
||||
---------------------------------------------
|
||||
|
||||
|
||||
Procedure:
|
||||
(1) Find the struct name you are interested in:
|
||||
(1) Find the C struct name you are interested in:
|
||||
(a) src/H5public.h if it is a generic type, i.e. H5_*
|
||||
or
|
||||
(b) src/H5*public.h if is a specific type, i.e. H5*_
|
||||
@ -17,7 +19,7 @@ Procedure:
|
||||
(b) edit fortran/src/H5f90proto.h and edit nh5init_flags_c interface call
|
||||
|
||||
(3) Edit the function call in fortran/src/H5_ff.f90
|
||||
(a) edit the call FUNCTION h5init_flags_c
|
||||
(a) edit the call: FUNCTION h5init_flags_c
|
||||
(b) edit h5init_flags_c call in h5open_f to match the number of arguments passing
|
||||
|
||||
(4) add the size of the array and array to fortran/src/H5f90global.f90
|
||||
@ -25,12 +27,12 @@ Procedure:
|
||||
|
||||
NOTE: To just add a default C value argument, do steps (2a) and (4)
|
||||
|
||||
Adding a new file to the repository
|
||||
-------------------------------------
|
||||
|
||||
Add the name of the file to:
|
||||
Procedure for adding a new file to the repository
|
||||
--------------------------------------------------
|
||||
|
||||
Add the name of the file to the:
|
||||
(1) Makefile.am located in the same directory as the newfile
|
||||
(2) MANIFEST located in the top level directory
|
||||
(2) CMakeLists.txt located in the same directory as the newfile
|
||||
(3) MANIFEST located in the top level directory
|
||||
|
||||
|
||||
If you add a new file, be sure to add it to the MANIFEST located in the top directory
|
||||
|
Loading…
Reference in New Issue
Block a user