JSPatch icon indicating copy to clipboard operation
JSPatch copied to clipboard

JPCFunction c函数返回值

Open momoAI opened this issue 8 years ago • 0 comments

require('JPEngine').addExtensions(['JPCFunction']) defineCFunction("NSHomeDirectory", "NSString *, void") defineClass("Test", { tableView_didSelectRowAtIndexPath: function(tableView, indexPath) { var path = NSHomeDirectory(); console.log("=======" + path); } }, {});

调用NSHomeDirectory()返回值为false是怎么回事

momoAI avatar Nov 07 '17 07:11 momoAI