18 #include "precompiled.h"
29 LOGERROR(L
"Trying to access the console when it's not initialized!");
60 scriptInterface.RegisterFunction<void, std::wstring, &
JSI_Console::Write>(
"Console_Write");
#define UNUSED(param)
mark a function parameter as unused and avoid the corresponding compiler warning. ...
bool GetVisibleEnabled(void *cbdata)
void SetVisibleEnabled(void *cbdata, bool Enabled)
bool CheckGlobalInitialized()
void Write(void *cbdata, std::wstring output)
Abstraction around a SpiderMonkey JSContext.
void RegisterScriptFunctions(ScriptInterface &scriptInterface)
void SetVisible(bool visible)
void InsertMessage(const wchar_t *szMessage,...) WPRINTF_ARGS(2)