iOS:fix callEntity pass param error.
This commit is contained in:
parent
160a85767a
commit
7a8fe598cd
@ -109,8 +109,6 @@ - (DoricAsyncResult *)invokeDoricMethod:(NSString *)method argumentsArray:(NSArr
|
|||||||
|
|
||||||
- (DoricAsyncResult *)invokeContextEntity:(NSString *)contextId method:(NSString *)method arguments:(va_list)args {
|
- (DoricAsyncResult *)invokeContextEntity:(NSString *)contextId method:(NSString *)method arguments:(va_list)args {
|
||||||
NSMutableArray *array = [[NSMutableArray alloc] init];
|
NSMutableArray *array = [[NSMutableArray alloc] init];
|
||||||
[array addObject:contextId];
|
|
||||||
[array addObject:method];
|
|
||||||
id arg = va_arg(args, id);
|
id arg = va_arg(args, id);
|
||||||
while (arg != nil) {
|
while (arg != nil) {
|
||||||
[array addObject:arg];
|
[array addObject:arg];
|
||||||
|
Reference in New Issue
Block a user