Prevent name mangling in C++
All checks were successful
CI / build-and-analyze (push) Successful in 1m25s
All checks were successful
CI / build-and-analyze (push) Successful in 1m25s
This commit is contained in:
8
CgeStr.h
8
CgeStr.h
@@ -1,6 +1,10 @@
|
||||
#ifndef CGE_STR_H
|
||||
#define CGE_STR_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -76,4 +80,8 @@ void CgeStrTrimRight(const CgeStr *str, CgeStr *out);
|
||||
void CgeStrTrim(const CgeStr *str, CgeStr *out);
|
||||
void CgeStrSplit(CgeStr *str, CgeStr *prefix, uint32_t delim);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* CGE_STR_H */
|
||||
|
||||
Reference in New Issue
Block a user