Comments (5)
There are several things to be sorted out
- Make sure JNA has no test failures on Apple silicon. See #1323
- Always use
objc_msgSend
on Apple silicon to be patched in MsgSendHandler - Fix several test failures in Rococoa possibly caused by not type safe calling
objc_msgSend
.
To fix dynamic-dispatching issues in your code, define a type-safe function pointer instead of calling objc_msgSend directly. Refer to Enable Strict Type Enforcement for Dynamic Method Dispatching
from rococoa.
We are making progress.
from rococoa.
@dkocher Just curious, were you able to build and use rococoa under Apple silicon? I see that java-native-access/jna#1238 has been closed.
from rococoa.
- Fix several test failures in Rococoa possibly caused by not type safe calling
objc_msgSend
.To fix dynamic-dispatching issues in your code, define a type-safe function pointer instead of calling objc_msgSend directly. Refer to Enable Strict Type Enforcement for Dynamic Method Dispatching
Not sure if this is actually an issue with JNA using libffi.
from rococoa.
Additional helpful documentation in Managing Functions and Function Pointers
.
from rococoa.
Related Issues (20)
- Test failure returning long from method call on PPC
- Foundation and AppKit framework coverage HOT 2
- "NSXXX(0x128307fa0) - NSView not correctly initialized. Did you forget to call super?"
- Exception Handling
- Obj-C GC capable
- Autorelease pool allocation in callOnMainThread HOT 1
- NSObject should be an abstract class HOT 1
- Copyright notice not on all source files HOT 1
- mappings should not exist in rococoa-core
- Struct test failures with JNA 3.2.4 HOT 1
- Current snapshot in SVN does not build with maven HOT 1
- No mapping for callbacks with parameters as reference HOT 2
- Load librococoa.dylib from JAR file - no java.library.path change required HOT 2
- explain where to get xcodebuild from in README.md HOT 2
- JNA: could not detach thread
- How to use with NetworkExtension framework
- Missing usage of objc_msgSend_fpret HOT 1
- Getting error while capturing screenshot of specific window.
- Maven central
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rococoa.