static void DefineGlobalConstString(v8::Isolate* pIsolate, const wchar_t* pConstName, const wchar_t* pValue) { FXJS_DefineGlobalConst(pIsolate, pConstName, FXJS_NewString(pIsolate, pValue)); }
void CJS_Value::operator=(const FX_WCHAR* pWstr) { m_pValue = FXJS_NewString(m_pJSRuntime->GetIsolate(), (wchar_t*)pWstr); m_eType = VT_string; }