导读:v8::Local code = v8ExternalString(source.source());v8::String::Utf8Value str(code);android_printLog(ANDROID_LOG_ERROR, ...
android webkit(V8引擎) v8::String 打印方式
v8::Local code = v8ExternalString(source.source());
v8::String::Utf8Value str(code);
android_printLog(ANDROID_LOG_ERROR, "V8Proxy","v8ExternalString = %s\n", *str);
记得添加
#if PLATFORM(ANDROID)
#include
#endif