Prevent name mangling in C++
All checks were successful
CI / build-and-analyze (push) Successful in 53s

This commit is contained in:
2026-08-18 10:41:56 +03:00
parent 64e40987b0
commit a2c0c2afad

View File

@@ -1,6 +1,10 @@
#ifndef CGE_ARGS_H #ifndef CGE_ARGS_H
#define CGE_ARGS_H #define CGE_ARGS_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stddef.h> #include <stddef.h>
enum CgeArgsType { enum CgeArgsType {
@@ -20,4 +24,8 @@ typedef struct CgeArgs {
int CgeArgsParse(CgeArgs *args, size_t size, int argc, char **argv); int CgeArgsParse(CgeArgs *args, size_t size, int argc, char **argv);
#ifdef __cplusplus
}
#endif
#endif /* CGE_ARGS_H */ #endif /* CGE_ARGS_H */