Generating JSBs results in: Use of undeclared identifier 'JS_DeletePropertyStub'

the generated .cpp file has a line in it:

jsb_IncrementTo_class->delProperty = JS_DeletePropertyStub;

this is causing an error, why is this being generated if it doesn’t exist?

Please investigate, is there an include that i’m missing or what?

How did you use bindings-generator?
Which version of cocos2d-x are you using?

I’m using the latest version on your Master branch on GitHub, I have the Repo checked out and an building against that:

I have modified my ‘bindings-generator/targets/spidermonkey/templates/register.c’ file:

-   jsb_${current_class.class_name}_class->delProperty = JS_DeletePropertyStub;
+   jsb_${current_class.class_name}_class->delProperty = JS_PropertyStub;

This fixes the bindings.

I was using a modified version of the ‘test’ project in the bindings-generator to generate my bindings.