JSON parser: Use array for function params (#2255)

This commit is contained in:
gtrxAC 2022-01-04 12:36:58 +02:00
commit 3f0ec2334f

View file

@ -2551,7 +2551,7 @@ return {
},
{
name = "SetWindowState",
description = "Set window configuration state using flags",
description = "Set window configuration state using flags (only PLATFORM_DESKTOP)",
returnType = "void",
params = {
{name = "flags", type = "unsigned int"}
@ -2636,6 +2636,14 @@ return {
{name = "height", type = "int"}
}
},
{
name = "SetWindowOpacity",
description = "Set window opacity [0.0f..1.0f] (only PLATFORM_DESKTOP)",
returnType = "void",
params = {
{name = "opacity", type = "float"}
}
},
{
name = "GetWindowHandle",
description = "Get native window handle",
@ -5264,7 +5272,7 @@ return {
},
{
name = "LoadFontEx",
description = "Load font from file with extended parameters",
description = "Load font from file with extended parameters, use NULL for fontChars and 0 for glyphCount to load the default character set",
returnType = "Font",
params = {
{name = "fileName", type = "const char *"},
@ -5333,12 +5341,21 @@ return {
},
{
name = "UnloadFont",
description = "Unload Font from GPU memory (VRAM)",
description = "Unload font from GPU memory (VRAM)",
returnType = "void",
params = {
{name = "font", type = "Font"}
}
},
{
name = "ExportFontAsCode",
description = "Export font as code file, returns true on success",
returnType = "bool",
params = {
{name = "font", type = "Font"},
{name = "fileName", type = "const char *"}
}
},
{
name = "DrawFPS",
description = "Draw current FPS",