Change errorCode from long to int
This commit is contained in:
1 parent
65578b8a64
commit
742bb7b516
4 files changed
+10
-10
No files matched your search
@@ -12,10 +12,10 @@
|
||||
@protocol ConnectionCallbacks <NSObject>
|
||||
|
||||
- (void) connectionStarted;
|
||||
- (void) connectionTerminated:(long)errorCode;
|
||||
- (void) connectionTerminated:(int)errorCode;
|
||||
- (void) stageStarting:(const char*)stageName;
|
||||
- (void) stageComplete:(const char*)stageName;
|
||||
- (void) stageFailed:(const char*)stageName withError:(long)errorCode;
|
||||
- (void) stageFailed:(const char*)stageName withError:(int)errorCode;
|
||||
- (void) launchFailed:(NSString*)message;
|
||||
- (void) rumble:(unsigned short)controllerNumber lowFreqMotor:(unsigned short)lowFreqMotor highFreqMotor:(unsigned short)highFreqMotor;
|
||||
- (void) connectionStatusUpdate:(int)status;
|
||||
|
||||
@@ -251,7 +251,7 @@ void ClStageComplete(int stage)
|
||||
[_callbacks stageComplete:LiGetStageName(stage)];
|
||||
}
|
||||
|
||||
void ClStageFailed(int stage, long errorCode)
|
||||
void ClStageFailed(int stage, int errorCode)
|
||||
{
|
||||
[_callbacks stageFailed:LiGetStageName(stage) withError:errorCode];
|
||||
}
|
||||
@@ -261,7 +261,7 @@ void ClConnectionStarted(void)
|
||||
[_callbacks connectionStarted];
|
||||
}
|
||||
|
||||
void ClConnectionTerminated(long errorCode)
|
||||
void ClConnectionTerminated(int errorCode)
|
||||
{
|
||||
[_callbacks connectionTerminated: errorCode];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user