diff --git a/CgeStr.h b/CgeStr.h index 79efb3e..c8a1270 100644 --- a/CgeStr.h +++ b/CgeStr.h @@ -1,6 +1,10 @@ #ifndef CGE_STR_H #define CGE_STR_H +#ifdef __cplusplus +extern "C" { +#endif + #include #include @@ -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 */