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