Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to using Objective-C Block #60

Closed
maxfong opened this issue Feb 11, 2015 · 8 comments
Closed

How to using Objective-C Block #60

maxfong opened this issue Feb 11, 2015 · 8 comments

Comments

@maxfong
Copy link

maxfong commented Feb 11, 2015

wax does not support block

@maxfong
Copy link
Author

maxfong commented Feb 11, 2015

@felipejfc @linmingzhi

@felipejfc
Copy link

example code?

@todicus
Copy link

todicus commented Feb 12, 2015

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

@felipejfc
Copy link

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...

@maxfong
Copy link
Author

maxfong commented Feb 14, 2015

@todicus , thx,it‘s work

@void-main
Copy link

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

@felipejfc
Copy link

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

@intheway
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants