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

Broken on arm64 #3

Open
martijnthe opened this issue Jan 20, 2014 · 0 comments
Open

Broken on arm64 #3

martijnthe opened this issue Jan 20, 2014 · 0 comments

Comments

@martijnthe
Copy link

See https://developer.apple.com/library/ios/documentation/General/Conceptual/CocoaTouch64BitGuide/Major64-BitChanges/Major64-BitChanges.html

Under "Impact of Function Call Changes on Your App":

"When you cast a function, you must be careful that the cast version of the function has the same signature as the original function. In particular, avoid casting a a function to a form that takes a different set of parameters (such as casting a function pointer that takes a variadic pattern to one that takes a fixed number of parameters)."

I think it's probably possible to fix it up, since it's possible to get the number and types of arguments, but it's not going to be pretty. Probably it's better to wait for libffi to catch up with iOS AArch64 and use that instead.

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

1 participant