logLevelInvalid for bad function calls and invalid data formats.
This commit is contained in:
@@ -43,6 +43,8 @@ int lcoreTakeScreenshot( lua_State *L );
|
||||
int lcoreSetConfigFlags( lua_State *L );
|
||||
int lcoreTraceLog( lua_State *L );
|
||||
int lcoreSetTraceLogLevel( lua_State *L );
|
||||
int lcoreSetLogLevelInvalid( lua_State *L );
|
||||
int lcoreGetLogLevelInvalid( lua_State *L );
|
||||
int lcoreOpenURL( lua_State *L );
|
||||
/* Cursor. */
|
||||
int lcoreShowCursor( lua_State *L );
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
void defineGlobals();
|
||||
void logCustom( int logLevel, const char *text, va_list args );
|
||||
|
||||
bool luaInit();
|
||||
int luaTraceback( lua_State *L );
|
||||
bool luaCallMain();
|
||||
|
||||
@@ -21,6 +21,7 @@ typedef struct {
|
||||
lua_State *luaState;
|
||||
Vector2 resolution;
|
||||
size_t guiFont;
|
||||
int logLevelInvalid;
|
||||
/* Resources. */
|
||||
/* Images. */
|
||||
Image **images;
|
||||
|
||||
Reference in New Issue
Block a user