Added return value check.
Adding JSBPRECONDITION2 to check return value.
Merge pull request #1 from funkaster/master

Updated with upstream.
Merge remote-tracking branch 'origin/master'
Merge pull request #24 from dumganhar/check-return

Some Improvements for cxx-generator.
Fixed an issue where cocos2d-x specific functionality was not appropriately wrapped with an #ifdef in binding code generated for default class constructors.
Merge pull request #26 from jdmunro/master

Resolved the dummy_constructor #ifdef issue
Fixing an issue with the cxx-generator when it is invoked within a folder structure containing 
hidden versioning information (.svn, .git folders etc.). Ignore '.svn' and '.git' etc.
folders and do not interpret them as Javascript engine targets like the 'spidermonkey' folder.
Merge pull request #27 from DarraghCoy/master

Fix an issue with the handling of .svn, .git etc. folders in the cxx-generator
Fix for spidermonkey19, deleted JSPROP_SHARED, added JSPROP_ENUMERATE.
Merge pull request #29 from dumganhar/spidermonkey19-fix

Fix for spidermonkey19, deleted JSPROP_SHARED, added JSPROP_ENUMERATE.
Removed an extra assignment in the namespace declaration in the generated api docs.
Merge pull request #30 from jdmunro/master

Fixed a small issue in the generated api doc
Adding default argument support.
rename class and protocols type name.
Removing some unused codes.
Merge pull request #31 from dumganhar/default-arg-support

Adding default argument support and some improvements
Native objects were left allocated with no references by the finalise routine. This way we make sure they're deleted on JS garbage collection.
Corrected namespace var name. Prefix was wrong :(
Initialize JSPropertySpec properties, get rid of about 150 warnings in the cocos2d-x XCode project.