Compare commits

..
Author SHA1 Message Date
minggoandGitHub 0c63194354 fix compiling error 2018-06-07 10:55:38 +08:00
minggoandGitHub 103165e1d6 Merge pull request #58 from dumganhar/new-renderer
Fixes SocketRocket crash on Xcode 9.3+
2018-06-07 10:09:50 +08:00
James Chen f6b83e1947 Fixes SocketRocket crash on Xcode 9.3+ 2018-06-07 10:07:45 +08:00
2 changed files with 10 additions and 10 deletions
@@ -14,15 +14,15 @@
NS_ASSUME_NONNULL_BEGIN
struct SRDelegateAvailableMethods {
BOOL didReceiveMessage : 1;
BOOL didReceiveMessageWithString : 1;
BOOL didReceiveMessageWithData : 1;
BOOL didOpen : 1;
BOOL didFailWithError : 1;
BOOL didCloseWithCode : 1;
BOOL didReceivePing : 1;
BOOL didReceivePong : 1;
BOOL shouldConvertTextFrameToString : 1;
BOOL didReceiveMessage;
BOOL didReceiveMessageWithString;
BOOL didReceiveMessageWithData;
BOOL didOpen;
BOOL didFailWithError;
BOOL didCloseWithCode;
BOOL didReceivePing;
BOOL didReceivePong;
BOOL shouldConvertTextFrameToString;
};
typedef struct SRDelegateAvailableMethods SRDelegateAvailableMethods;
+1 -1
View File
@@ -25,7 +25,7 @@ distribution.
#define TINYXML2_INCLUDED
#include "platform/CCPlatformConfig.h"
#include "platform/CCPlatformMacros.h"
#include "base/ccMacros.h"
#if defined(ANDROID_NDK) || defined(__BORLANDC__) || (CC_TARGET_PLATFORM == CC_PLATFORM_BLACKBERRY)
# include <ctype.h>