Prevent name mangling in C++
All checks were successful
CI / build-and-analyze (push) Successful in 1m21s
All checks were successful
CI / build-and-analyze (push) Successful in 1m21s
This commit is contained in:
8
CgeNet.h
8
CgeNet.h
@@ -1,6 +1,10 @@
|
||||
#ifndef CGE_NET_H
|
||||
#define CGE_NET_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
|
||||
@@ -99,4 +103,8 @@ int CgeNetPollAdd(CgeNetPoll *poll, CgeNetSocket *socket,
|
||||
int CgeNetPollRemove(CgeNetPoll *poll, CgeNetSocket *socket);
|
||||
int CgeNetPollWait(CgeNetPoll *poll, int timeout);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* CGE_NET_H */
|
||||
|
||||
Reference in New Issue
Block a user