remove steam
This commit is contained in:
parent
9d75b38098
commit
fab05573d9
|
@ -1559,7 +1559,7 @@ void ffi_load() {
|
||||||
JS_SetPropertyStr(js, globalThis, "window", window2js(&mainwin));
|
JS_SetPropertyStr(js, globalThis, "window", window2js(&mainwin));
|
||||||
JS_SetPropertyStr(js, globalThis, "texture", JS_DupValue(js,texture_proto));
|
JS_SetPropertyStr(js, globalThis, "texture", JS_DupValue(js,texture_proto));
|
||||||
|
|
||||||
JS_SetPropertyStr(js, globalThis, "steam", js_init_steam(js));
|
//JS_SetPropertyStr(js, globalThis, "steam", js_init_steam(js));
|
||||||
|
|
||||||
sound_proto = JS_NewObject(js);
|
sound_proto = JS_NewObject(js);
|
||||||
JS_SetPropertyStr(js,globalThis, "sound_proto", sound_proto);
|
JS_SetPropertyStr(js,globalThis, "sound_proto", sound_proto);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#include "steam.h"
|
#include "steam.h"
|
||||||
|
/*
|
||||||
#include <steam/steam_api.h>
|
#include <steam/steam_api.h>
|
||||||
#include <steam/steam_api_flat.h>
|
#include <steam/steam_api_flat.h>
|
||||||
|
|
||||||
|
@ -19,3 +19,4 @@ JSValue js_init_steam(JSContext *js)
|
||||||
JS_SetPropertyFunctionList(js, steam, js_steam_funcs, countof(js_steam_funcs));
|
JS_SetPropertyFunctionList(js, steam, js_steam_funcs, countof(js_steam_funcs));
|
||||||
return steam;
|
return steam;
|
||||||
}
|
}
|
||||||
|
*/
|
Loading…
Reference in a new issue