This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #import <Foundation/Foundation.h> | |
| typedef void (^completeBlock_t)(NSData *data); | |
| typedef void (^errorBlock_t)(NSError *error); | |
| @interface AsyncURLConnection : NSObject | |
| { | |
| NSMutableData *data_; | |
| completeBlock_t completeBlock_; | |
| errorBlock_t errorBlock_; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #import "AsyncURLConnection.h" | |
| @implementation AsyncURLConnection | |
| + (id)request:(NSString *)requestUrl completeBlock:(completeBlock_t)completeBlock errorBlock:(errorBlock_t)errorBlock | |
| { | |
| return [[[self alloc] initWithRequest:requestUrl | |
| completeBlock:completeBlock errorBlock:errorBlock] autorelease]; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #import "cocos2d.h" | |
| typedef void (^textureCallbackBlock_t)(CCTexture2D *texture); | |
| @interface TextureCallback : NSObject | |
| { | |
| textureCallbackBlock_t block_; | |
| } | |
| + (id)callbackWithBlock:(textureCallbackBlock_t)block; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #import "TextureCallback.h" | |
| @implementation TextureCallback | |
| + (id)callbackWithBlock:(textureCallbackBlock_t)block | |
| { | |
| return [[[self alloc] initWithBlock:block] autorelease]; | |
| } | |
| - (id)initWithBlock:(textureCallbackBlock_t)block |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #import <Foundation/Foundation.h> | |
| typedef void (^completeBlock_t)(NSData *data); | |
| typedef void (^errorBlock_t)(NSError *error); | |
| @interface AsyncURLConnection : NSURLConnection | |
| { | |
| NSMutableData *data_; | |
| completeBlock_t completeBlock_; | |
| errorBlock_t errorBlock_; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #import "AsyncURLConnection.h" | |
| @implementation AsyncURLConnection | |
| + (id)request:(NSString *)requestUrl completeBlock:(completeBlock_t)completeBlock errorBlock:(errorBlock_t)errorBlock | |
| { | |
| return [[[self alloc] initWithRequest:requestUrl | |
| completeBlock:completeBlock errorBlock:errorBlock] autorelease]; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SRCS+= adb.c | |
| SRCS+= adb_client.c | |
| SRCS+= commandline.c | |
| SRCS+= console.c | |
| SRCS+= file_sync_client.c | |
| SRCS+= fdevent.c | |
| SRCS+= get_my_path_linux.c | |
| SRCS+= services.c | |
| SRCS+= sockets.c | |
| SRCS+= transport.c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/cocos2d/CCNode.h b/cocos2d/CCNode.h | |
| index d6faaf5..64acdc5 100644 | |
| --- a/cocos2d/CCNode.h | |
| +++ b/cocos2d/CCNode.h | |
| @@ -105,6 +107,9 @@ enum { | |
| // position of the node | |
| CGPoint position_; | |
| CGPoint positionInPixels_; | |
| + | |
| + // skew angles |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| From 5fa3190bc9a0f4cc31bc5ab9e9e845c62610e5f9 Mon Sep 17 00:00:00 2001 | |
| From: Kazuki Sakamoto <sakamoto@splhack.org> | |
| Date: Sat, 16 Jul 2011 21:58:32 +0900 | |
| Subject: [PATCH] suppress warnings | |
| --- | |
| src/engine/hosts/iphone/kwl_decoder_iphone.c | 8 ++-- | |
| src/engine/hosts/iphone/kwl_decoder_iphone.h | 2 +- | |
| src/engine/hosts/iphone/kwl_soundengine_iphone.m | 42 +++++++++++----------- | |
| src/engine/kwl_audiofileutil.c | 10 +++--- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/libs/squirrel/sqstdlib/sqstdrex.cpp b/libs/squirrel/sqstdlib/sqstdrex.cpp | |
| index 61a15ef..2859875 100644 | |
| --- a/libs/squirrel/sqstdlib/sqstdrex.cpp | |
| +++ b/libs/squirrel/sqstdlib/sqstdrex.cpp | |
| @@ -498,25 +498,25 @@ static const SQChar *sqstd_rex_matchnode(SQRex* exp,SQRexNode *node,const SQChar | |
| if(str == exp->_eol) return str; | |
| return NULL; | |
| case OP_DOT:{ | |
| - *str++; | |
| + str++; |