Prevent name mangling in C++
All checks were successful
CI / build-and-analyze (push) Successful in 53s
All checks were successful
CI / build-and-analyze (push) Successful in 53s
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
#ifndef CGE_ARGS_H
|
||||
#define CGE_ARGS_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
enum CgeArgsType {
|
||||
@@ -20,4 +24,8 @@ typedef struct CgeArgs {
|
||||
|
||||
int CgeArgsParse(CgeArgs *args, size_t size, int argc, char **argv);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* CGE_ARGS_H */
|
||||
|
||||
Reference in New Issue
Block a user