separate out cell stuff & prosperon stuff
This commit is contained in:
@@ -1533,6 +1533,8 @@ void ffi_load(JSContext *js)
|
||||
{
|
||||
prosperon_rt *rt = JS_GetContextOpaque(js);
|
||||
|
||||
JS_FreeValue(js, js_blob_use(js)); // juice blob
|
||||
|
||||
m_seedRand(&rt->mrand, time(NULL));
|
||||
|
||||
// cell modules
|
||||
@@ -1588,8 +1590,6 @@ void ffi_load(JSContext *js)
|
||||
QJSCLASSPREP_FUNCS(font);
|
||||
QJSCLASSPREP_FUNCS(datastream);
|
||||
|
||||
// use_dyn and use_embed moved to hidden_fn
|
||||
|
||||
JSValue jsobject = JS_GetPropertyStr(js,globalThis, "Object");
|
||||
JS_SetPropertyStr(js, jsobject, "id", JS_NewCFunction(js, js_os_value_id, "id", 1));
|
||||
JS_FreeValue(js,jsobject);
|
||||
|
||||
Reference in New Issue
Block a user