6.17 Using these functions in your own C code; 6.18 Organization of header files
".h" include files, and the C calls look much like the Fortran calls, except that
The Fortran view of files; The C/C++ view of files; Mixed-language file processing. Language memory management; Language calling sequence
NAIF creates the basis for CSPICE by running the Fortran-to-C translation
In order to pass this function to C, we obtain its address using the macro @ cfunction :
Such a header file (nagmk23.h) has been created for the current NAG Fortran Library.
Provide C headers: in order to call the Fortran functions from C, the signature of each function has to be exposed, preferably in a header file.
are initialized only the first time a function is called, while subsequent calls retain
Usually, makefiles are written so that if you run make with no
F instead of .f in order to preprocess these directives.