Sorry, my english is poor.
I found the export function:“js_cocos2dx_CCFileUtils_getFileData” through spidermonkey in the jsb_cocos2dx_auto.cpp,
but have some error. for example:
The third arguments “arg2” as define “unsigned long* arg2” for return the file size,
Should it not define as “unsigned long arg2” and pass through to the function "cobj~~>getFileData" call as “&arg2” ?
I correct the error by step 1 and get the json file data succeed, it store in the “ret” variable, as the following code:
unsigned char* ret = cobj~~>getFileData(arg0, arg1, arg2);
#pragma warning NO CONVERSION FROM NATIVE FOR unsigned char**;
Unfortunately it does not transfer the file data to the js layer, it transfer the uninitialized variable “jsret”.
So, the question is “cc.FileUtils” in jsbinding is complete ?
**Thanks for your hard work!*