From f11c5b84fb5108880530dd64082db783efc15065 Mon Sep 17 00:00:00 2001 From: jpekkila Date: Thu, 25 Jun 2020 06:36:00 +0300 Subject: [PATCH] Forgot the actual interface from previous commits, here it is --- include/astaroth_fortran.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 include/astaroth_fortran.h diff --git a/include/astaroth_fortran.h b/include/astaroth_fortran.h new file mode 100644 index 0000000..bf9a1e9 --- /dev/null +++ b/include/astaroth_fortran.h @@ -0,0 +1,24 @@ +#pragma once +#include "astaroth.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/** + * Utils + */ +void acupdatebuiltinparams_(AcMeshInfo* info); + +/** + * Device + */ +void acdevicecreate_(const int* id, const AcMeshInfo* info, Device* handle); + +void acdevicedestroy_(Device* device); + +void acdeviceprintinfo_(const Device* device); + +#ifdef __cplusplus +} // extern "C" +#endif