feat(fortran): Added fortran bindings
Building of the C API GridFire can now be used from fotran using the gridfire_mod fortran module. This exposes the same, limited, set of funcitonality that the C API does.
This commit is contained in:
3
src/extern/lib/gridfire_extern.cpp
vendored
3
src/extern/lib/gridfire_extern.cpp
vendored
@@ -8,9 +8,8 @@ extern "C" {
|
||||
return new GridFireContext();
|
||||
}
|
||||
|
||||
int gf_free(void* ctx) {
|
||||
void gf_free(void* ctx) {
|
||||
delete static_cast<GridFireContext*>(ctx);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int gf_register_species(void* ptr, const int num_species, const char** species_names) {
|
||||
|
||||
Reference in New Issue
Block a user