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

executeUpdate should autobox primitive values #48

Closed
steipete opened this issue Mar 1, 2012 · 1 comment
Closed

executeUpdate should autobox primitive values #48

steipete opened this issue Mar 1, 2012 · 1 comment

Comments

@steipete
Copy link

steipete commented Mar 1, 2012

Hit me by chance that adding a plain integer to executeUpdate just crashes at like 772 in FMDatabase.m ( obj = va_arg(args, id);) ... we could be a little smarter and provide auto-boxing for such cases.

If this is interesting, I might send a pull request.

@steipete
Copy link
Author

steipete commented Mar 1, 2012

I see... that's not even possible with va_list. Would be nice though.

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