Added extern C to the include headers

This commit is contained in:
jpekkila
2019-07-23 15:02:54 +03:00
parent c0774bc3b8
commit c98e730397
2 changed files with 17 additions and 0 deletions

View File

@@ -18,6 +18,10 @@
*/
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
#include "astaroth_defines.h"
typedef struct {
@@ -208,3 +212,7 @@ acSetParam(const AcReal3Param param, const AcReal3 value, AcMeshInfo* info)
info->real3_params[param] = value;
}
*/
#ifdef __cplusplus
} // extern "C"
#endif