Use bool instead of int. Replace TRUE/FALSE with true/false.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -23,14 +23,6 @@
|
||||
|
||||
#include "wx/msw/wrapwin.h"
|
||||
|
||||
#ifndef TRUE
|
||||
#define TRUE 1
|
||||
#endif
|
||||
|
||||
#ifndef FALSE
|
||||
#define FALSE 0
|
||||
#endif
|
||||
|
||||
class GSocketGUIFunctionsTableConcrete: public GSocketGUIFunctionsTable
|
||||
{
|
||||
public:
|
||||
@@ -58,7 +50,7 @@ public:
|
||||
GAddress *GetPeer();
|
||||
GSocketError SetServer();
|
||||
GSocket *WaitConnection();
|
||||
int SetReusable();
|
||||
bool SetReusable();
|
||||
GSocketError Connect(GSocketStream stream);
|
||||
GSocketError SetNonOriented();
|
||||
int Read(char *buffer, int size);
|
||||
@@ -92,11 +84,11 @@ public:
|
||||
GSocketError m_error;
|
||||
|
||||
/* Attributes */
|
||||
int m_non_blocking;
|
||||
int m_server;
|
||||
int m_stream;
|
||||
int m_establishing;
|
||||
int m_reusable;
|
||||
bool m_non_blocking;
|
||||
bool m_server;
|
||||
bool m_stream;
|
||||
bool m_establishing;
|
||||
bool m_reusable;
|
||||
struct timeval m_timeout;
|
||||
|
||||
/* Callbacks */
|
||||
|
Reference in New Issue
Block a user