Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
❣ Obj-C Block Implementation
Background
Rococoa is Objective-C bindings over JNA(Java Native Access).
But JNA does NOT support obj-c block.
I've tried to adapt obj-c block to Java.
So far
my test implementation works!
id
argumentObjCObject
argumentbut a block which is used in a method provided by Apple doesn't work. WHY?
it got error
SIGSEGV
atobjc_retain
.working codes, not working codes and error log, see below.
😀 working codes
objective-c block definitions
java implementation for block
test code (works)
🥺 block which is in a method apple provided (doesn't work)
apple framework definition (CoreML)
sample using a block which is in a method apple provided
error log
references
Beta Was this translation helpful? Give feedback.
All reactions