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
| #include <Foundation/Foundation.h> | |
| @protocol MyProto | |
| @end | |
| @interface JSBClass2 <MyProto> | |
| @end | |
| typedef struct jsbStruct | |
| { |
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
| (set malloc (NuBridgedFunction functionWithName:"malloc" signature:"li")) | |
| (set memset (NuBridgedFunction functionWithName:"memset" signature:"llil")) | |
| (set getchar (NuBridgedFunction functionWithName:"getchar" signature:"i")) | |
| ;; Allocate in 100MB chunks... | |
| (set bytecount (* 1024 1024 100)) | |
| (set iterations 10) | |
| (set i 0) |
NewerOlder