probablycorey/wax

How to using Objective-C Block

Closed this issue · 8 comments

wax does not support block

example code?

This is a bit of a hack on top of Wax, but I can verify that it does work: https://groups.google.com/d/msg/iphonewax/mMhRCRwfEjQ/dPlA3wveeqoJ

this is a good hack, I think this can be done without the coersion and for N arguments, will take a look on that later...

@todicus , thx,it‘s work

@todicus Is it working? I got EXC_BAD_ACCESS on this line: wax_fromInstance(L, param1); when trying to use asVoidDyadicBlock..

@void-main I tested it and it worked. I tested with my fork

@felipejfc @void-main @maxfong @todicus wax is maintained by alibaba, block is support. see https://github.com/alibaba/wax