Bug fix: error when passing pointer to new defined method in JS:
Bug fix: error when passing pointer to new defined method in JS:

defineClass("JPObject", {}, {
testPointer: function(p) {
console.log(p)
}
})
var p = malloc(32)
JPObject.testPointer(p) //error

yanchaoGan/JSPatch,JerroldLee/JSPatch,SuperSG/JSPatch,mway08/JSPatch,wjyadlx/JSPatch,rob2468/JSPatch,albert438/JSPatch,bang590/JSPatch,hanangellove/JSPatch,chengjiaming/JSPatch,chieryw/JSPatch,albert438/JSPatch,rob2468/JSPatch,iosRookie/JSPatch,qskycolor/JSPatch,longv2go/JSPatch,chenbk85/JSPatch,RyanTech/JSPatch,ipinka/JSPatch,RyanTech/JSPatch,mway08/JSPatch,dawangjiaowolaixunshan/JSPatch,qskycolor/JSPatch,xz410236056/JSPatch,LiJingBiao/JSPatch,betallcoffee/JSPatch,chieryw/JSPatch,JerroldLee/JSPatch,chengjiaming/JSPatch,ipinka/JSPatch,RyanTech/JSPatch,ipinka/JSPatch,chieryw/JSPatch,wjyadlx/JSPatch,yanchaoGan/JSPatch,LiJingBiao/JSPatch,betallcoffee/JSPatch,hanangellove/JSPatch,chengjiaming/JSPatch,iosRookie/JSPatch,bang590/JSPatch,zhp0260/JSPatch,bang590/JSPatch,bang590/JSPatch,chieryw/JSPatch,philonpang/JSPatch,philonpang/JSPatch,ipinka/JSPatch,xtxwy/JSPatch,chenbk85/JSPatch,rob2468/JSPatch,bang590/JSPatch,SuperSG/JSPatch,chengjiaming/JSPatch,dawangjiaowolaixunshan/JSPatch,longv2go/JSPatch,SuperSG/JSPatch,xz410236056/JSPatch,SuperSG/JSPatch,rob2468/JSPatch,RyanTech/JSPatch,zhp0260/JSPatch,xtxwy/JSPatch,chieryw/JSPatch,ipinka/JSPatch