Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Hi,
- the following code does work in iOS-Simulator and when debugging through XCode, but when running on plain device without gdb it gives an EXC_CRASH (SIGKILL) with no further information:
- NuInit();
- NSString* script = @"(do () (puts \"called\"))";
- id parsed = [[Nu sharedParser] parse:script];
- NuBlock* block = [[Nu sharedParser] eval:parsed];
- void (^cblock)( ) = [NuBridgedBlock cBlockWithNuBlock:block signature:@"v"];
- cblock();
- Is there any error in my understanding of NuBridgedBlock?
Add Comment
Please, Sign In to add comment