iphreeqc/fwrap3.cpp
David L Parkhurst 548bf128e2 Made IPhreeqc a Fortran module when IPHREEQC_MODULE is defined.
fwrap routines are used if IPHREEQC_MODULE is not defined.
If IPHREEQC_MODULE is defined, then IPhreeqc_interface.F90 defines the Fortran Module.
    compile it with the user Fortran code.
IPhreeqc_interface_F.cpp is a modification of fwrap.cpp, which the Fortran Module functions call.
IPhreeqc_interface_F.h is a modification of fwrap.h used only by IPhreeqc_interface_F.cpp.

git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@9347 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2015-03-11 16:18:41 +00:00

25 lines
341 B
C++

#ifndef IPHREEQC_MODULE
#include "IPhreeqc.h"
#include "fwrap.h"
#if defined(_WIN32)
#if defined(__cplusplus)
extern "C" {
#endif
//
// Intel Fortran compiler 9.1 /iface:cref /assume:underscore
//
#define IPQ_DECL
#define IPQ_CASE_UND(name, NAME, name_, NAME_) name_
#include "fimpl.h"
#if defined(__cplusplus)
}
#endif
#endif
#endif