Draft: C Interfacing
Files
3@@ -49,7 +49,7 @@ class SfgFilePrinter:
@@ -63,10 +63,6 @@ class SfgFilePrinter:
This MR enables C compatibility for the generated target code
SfgConfig.c_interfacing
option that automatically marks all function declarations as extern "C"
#ifdef __cplusplus
<cpp includes...>
#define EXTERNC extern "C"
#else
<hybrid includes...>
#define EXTERN C
#endif
<cstdint>
, to C compatible header includes, e.g. <stdint.h>
, for hybrid mode