Quantcast
Viewing all articles
Browse latest Browse all 494966

3.13.1 里 ScriptingCore::evalString 无效

JSAutoCompartment ac(cx, global);
JS::PersistentRootedScript script(cx);
if (script == nullptr) {
	CCLOG("script is null");  <-  在这里直接返回false了
    return false;
}

先改回原来的用着了
3.13.1在这里加了一大堆代码干什么用的啊,


Viewing all articles
Browse latest Browse all 494966

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>