Added GSocket_Init and GSocket_Cleanup

Added wxSocketModule to socket.cpp to call GSocket_Init and GSocket_Cleanup


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Guilhem Lavaux
1999-07-25 14:26:15 +00:00
parent e179bd6537
commit a58d5df4ef
4 changed files with 36 additions and 1 deletions

View File

@@ -73,6 +73,13 @@ typedef void (*GSocketFallback)(GSocket *socket, GSocketEvent event,
extern "C" {
#endif
/* Global initialisers */
/* GSocket_Init() must be called at the beginning */
void GSocket_Init();
/* GSocket_Cleanup() must be called at the ending */
void GSocket_Cleanup();
/* Constructors / Destructors */
GSocket *GSocket_new();