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

This commit is contained in:
2026-08-18 10:42:33 +03:00
parent f5507f15a2
commit 36b6a17924

View File

@@ -1,6 +1,10 @@
#ifndef CGE_NET_H #ifndef CGE_NET_H
#define CGE_NET_H #define CGE_NET_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h> #include <stdint.h>
#include <stddef.h> #include <stddef.h>
@@ -99,4 +103,8 @@ int CgeNetPollAdd(CgeNetPoll *poll, CgeNetSocket *socket,
int CgeNetPollRemove(CgeNetPoll *poll, CgeNetSocket *socket); int CgeNetPollRemove(CgeNetPoll *poll, CgeNetSocket *socket);
int CgeNetPollWait(CgeNetPoll *poll, int timeout); int CgeNetPollWait(CgeNetPoll *poll, int timeout);
#ifdef __cplusplus
}
#endif
#endif /* CGE_NET_H */ #endif /* CGE_NET_H */