Fix header C++ compatibility
This commit is contained in:
@@ -115,6 +115,10 @@ typedef struct GroundFunction {
|
|||||||
size_t startLine;
|
size_t startLine;
|
||||||
} GroundFunction;
|
} GroundFunction;
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
GroundProgram groundCreateProgram();
|
GroundProgram groundCreateProgram();
|
||||||
void groundAddInstructionToProgram(GroundProgram* program, GroundInstruction instruction);
|
void groundAddInstructionToProgram(GroundProgram* program, GroundInstruction instruction);
|
||||||
GroundValue groundRunProgram(GroundProgram* program);
|
GroundValue groundRunProgram(GroundProgram* program);
|
||||||
@@ -126,5 +130,8 @@ GroundArg groundCreateReference(GroundArgType type, char* ref);
|
|||||||
|
|
||||||
GroundValue groundCreateValue(GroundValueType type, ...);
|
GroundValue groundCreateValue(GroundValueType type, ...);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user