-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Crash when returning primitive types #4
Comments
I actually can handle this, so I will. Let’s be delightful! |
👍 |
@mxcl Thought I'd throw my five cents in - if you don't mind a dependency on libffi, it is definitely possible to have primitive types as parameters as well. Like this! |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This crashes here since the return type is obviously not
id
.I don't know what's the cleanest way to solve this. It's kind of acceptable that primitive types don't work. Maybe even leave it as-is and update the docs, or start supporting it?
(I caught this when accidentally returning
"string"
instead of@"string"
. 🙈)The text was updated successfully, but these errors were encountered: