Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Additionally, JSCore expects an actual JSValueRef to be returned and not NULL, even on the error case.
In my JSBugs2 branch at https://github.com/ewmailing/swig, I have fixes for this.
The commit logs contain a lot more information. I will submit a pull request shortly.