You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
510 B
24 lines
510 B
10 years ago
|
/*
|
||
6 years ago
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
9 years ago
|
*
|
||
7 years ago
|
* This source code is licensed under the MIT license found in the
|
||
|
* LICENSE file in the root directory of this source tree.
|
||
9 years ago
|
*/
|
||
10 years ago
|
|
||
|
#include "MethodCall.h"
|
||
9 years ago
|
#include <stdlib.h>
|
||
10 years ago
|
|
||
8 years ago
|
int ProcdescMain() {
|
||
9 years ago
|
MethodCall* call = [MethodCall alloc];
|
||
|
int n = [call plusX:1 andY:3];
|
||
|
int* x = malloc(sizeof(int));
|
||
|
return n;
|
||
10 years ago
|
}
|
||
|
|
||
|
int call_nslog() {
|
||
9 years ago
|
MethodCall* call = [MethodCall alloc];
|
||
10 years ago
|
NSLog(@"%s", "printing");
|
||
9 years ago
|
int* x = malloc(sizeof(int));
|
||
10 years ago
|
return 0;
|
||
|
}
|