Forgot the actual interface from previous commits, here it is
This commit is contained in:
24
include/astaroth_fortran.h
Normal file
24
include/astaroth_fortran.h
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user