-
Notifications
You must be signed in to change notification settings - Fork 77
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
BridJ: add support for Objective-C blocks (closures) #9
Comments
Hi Andrei, I've reached a first stable state for Objective-C 2.0 blocks support : it's very similar to callbacks, except you inherit from org.bridj.objc.ObjCBlock instead of org.bridj.Callback (please see ObjectiveCTest in the commit diff to see an example of usage). Cheers |
From @AndreiSochirca on November 6, 2011 13:51 Hi Olivier, Great! Thank you very much! Regards, Andrei. |
Hi Andrei, Have limited time resources here unfortunately, so issue #188 hasn't progressed much (although its automated tests run fine : you can help improve them to point me to the right direction). Cheers |
From @AndreiSochirca on November 7, 2011 13:14 Hi Olivier, I understand. In this example, video capture is started but delegate class is not notified about next video frame. Regards, Andrei. |
From @AndreiSochirca on January 24, 2012 16:39 Hi Olivier, Does ObjectiveCTest#testGlobalNSEventHook() work in your environment? Regards, Andrei. |
hi, how is this issue? i'm now implementing about obj-c blocks on my forked rococoa project. here is my stuck summary could you tell me why do you currently stop releasing about obj-c block and also it's sad that pyobjc can do it but java can't. thanks |
From @ochafik on October 22, 2011 11:48
See example use case provided by Andrei Sochirca in issue #188 :
NSEvent.addGlobalMonitorForEventsMatchingMask(mask, block)
Copied from original issue: nativelibs4java/nativelibs4java#192
The text was updated successfully, but these errors were encountered: