Reorder parser (#2462)
* Reorder parser output * Regenerate parser output * Reorder parser line reading * Reorder parser data parsing * Reorder remaining parser stuff
This commit is contained in:
parent
df6caea25d
commit
4eb3d8857f
5 changed files with 1665 additions and 1667 deletions
|
@ -1,4 +1,318 @@
|
|||
return {
|
||||
defines = {
|
||||
{
|
||||
name = "RAYLIB_H",
|
||||
type = "GUARD",
|
||||
value = "",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "RAYLIB_VERSION",
|
||||
type = "STRING",
|
||||
value = "4.1-dev",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "RLAPI",
|
||||
type = "UNKNOWN",
|
||||
value = "__declspec(dllexport)",
|
||||
description = "We are building the library as a Win32 shared library (.dll)"
|
||||
},
|
||||
{
|
||||
name = "PI",
|
||||
type = "FLOAT",
|
||||
value = 3.14159265358979323846,
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "DEG2RAD",
|
||||
type = "UNKNOWN",
|
||||
value = "(PI/180.0f)",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "RAD2DEG",
|
||||
type = "UNKNOWN",
|
||||
value = "(180.0f/PI)",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "RL_MALLOC(sz)",
|
||||
type = "MACRO",
|
||||
value = "malloc(sz)",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "RL_CALLOC(n,sz)",
|
||||
type = "MACRO",
|
||||
value = "calloc(n,sz)",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "RL_REALLOC(ptr,sz)",
|
||||
type = "MACRO",
|
||||
value = "realloc(ptr,sz)",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "RL_FREE(ptr)",
|
||||
type = "MACRO",
|
||||
value = "free(ptr)",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "CLITERAL(type)",
|
||||
type = "MACRO",
|
||||
value = "type",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "RL_COLOR_TYPE",
|
||||
type = "GUARD",
|
||||
value = "",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "RL_RECTANGLE_TYPE",
|
||||
type = "GUARD",
|
||||
value = "",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "RL_VECTOR2_TYPE",
|
||||
type = "GUARD",
|
||||
value = "",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "RL_VECTOR3_TYPE",
|
||||
type = "GUARD",
|
||||
value = "",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "RL_VECTOR4_TYPE",
|
||||
type = "GUARD",
|
||||
value = "",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "RL_QUATERNION_TYPE",
|
||||
type = "GUARD",
|
||||
value = "",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "RL_MATRIX_TYPE",
|
||||
type = "GUARD",
|
||||
value = "",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "LIGHTGRAY",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 200, 200, 200, 255 }",
|
||||
description = "Light Gray"
|
||||
},
|
||||
{
|
||||
name = "GRAY",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 130, 130, 130, 255 }",
|
||||
description = "Gray"
|
||||
},
|
||||
{
|
||||
name = "DARKGRAY",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 80, 80, 80, 255 }",
|
||||
description = "Dark Gray"
|
||||
},
|
||||
{
|
||||
name = "YELLOW",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 253, 249, 0, 255 }",
|
||||
description = "Yellow"
|
||||
},
|
||||
{
|
||||
name = "GOLD",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 255, 203, 0, 255 }",
|
||||
description = "Gold"
|
||||
},
|
||||
{
|
||||
name = "ORANGE",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 255, 161, 0, 255 }",
|
||||
description = "Orange"
|
||||
},
|
||||
{
|
||||
name = "PINK",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 255, 109, 194, 255 }",
|
||||
description = "Pink"
|
||||
},
|
||||
{
|
||||
name = "RED",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 230, 41, 55, 255 }",
|
||||
description = "Red"
|
||||
},
|
||||
{
|
||||
name = "MAROON",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 190, 33, 55, 255 }",
|
||||
description = "Maroon"
|
||||
},
|
||||
{
|
||||
name = "GREEN",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 0, 228, 48, 255 }",
|
||||
description = "Green"
|
||||
},
|
||||
{
|
||||
name = "LIME",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 0, 158, 47, 255 }",
|
||||
description = "Lime"
|
||||
},
|
||||
{
|
||||
name = "DARKGREEN",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 0, 117, 44, 255 }",
|
||||
description = "Dark Green"
|
||||
},
|
||||
{
|
||||
name = "SKYBLUE",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 102, 191, 255, 255 }",
|
||||
description = "Sky Blue"
|
||||
},
|
||||
{
|
||||
name = "BLUE",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 0, 121, 241, 255 }",
|
||||
description = "Blue"
|
||||
},
|
||||
{
|
||||
name = "DARKBLUE",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 0, 82, 172, 255 }",
|
||||
description = "Dark Blue"
|
||||
},
|
||||
{
|
||||
name = "PURPLE",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 200, 122, 255, 255 }",
|
||||
description = "Purple"
|
||||
},
|
||||
{
|
||||
name = "VIOLET",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 135, 60, 190, 255 }",
|
||||
description = "Violet"
|
||||
},
|
||||
{
|
||||
name = "DARKPURPLE",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 112, 31, 126, 255 }",
|
||||
description = "Dark Purple"
|
||||
},
|
||||
{
|
||||
name = "BEIGE",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 211, 176, 131, 255 }",
|
||||
description = "Beige"
|
||||
},
|
||||
{
|
||||
name = "BROWN",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 127, 106, 79, 255 }",
|
||||
description = "Brown"
|
||||
},
|
||||
{
|
||||
name = "DARKBROWN",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 76, 63, 47, 255 }",
|
||||
description = "Dark Brown"
|
||||
},
|
||||
{
|
||||
name = "WHITE",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 255, 255, 255, 255 }",
|
||||
description = "White"
|
||||
},
|
||||
{
|
||||
name = "BLACK",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 0, 0, 0, 255 }",
|
||||
description = "Black"
|
||||
},
|
||||
{
|
||||
name = "BLANK",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 0, 0, 0, 0 }",
|
||||
description = "Blank (Transparent)"
|
||||
},
|
||||
{
|
||||
name = "MAGENTA",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 255, 0, 255, 255 }",
|
||||
description = "Magenta"
|
||||
},
|
||||
{
|
||||
name = "RAYWHITE",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 245, 245, 245, 255 }",
|
||||
description = "My own White (raylib logo)"
|
||||
},
|
||||
{
|
||||
name = "RL_BOOL_TYPE",
|
||||
type = "GUARD",
|
||||
value = "",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "MOUSE_LEFT_BUTTON",
|
||||
type = "UNKNOWN",
|
||||
value = "MOUSE_BUTTON_LEFT",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "MOUSE_RIGHT_BUTTON",
|
||||
type = "UNKNOWN",
|
||||
value = "MOUSE_BUTTON_RIGHT",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "MOUSE_MIDDLE_BUTTON",
|
||||
type = "UNKNOWN",
|
||||
value = "MOUSE_BUTTON_MIDDLE",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "MATERIAL_MAP_DIFFUSE",
|
||||
type = "UNKNOWN",
|
||||
value = "MATERIAL_MAP_ALBEDO",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "MATERIAL_MAP_SPECULAR",
|
||||
type = "UNKNOWN",
|
||||
value = "MATERIAL_MAP_METALNESS",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "SHADER_LOC_MAP_DIFFUSE",
|
||||
type = "UNKNOWN",
|
||||
value = "SHADER_LOC_MAP_ALBEDO",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "SHADER_LOC_MAP_SPECULAR",
|
||||
type = "UNKNOWN",
|
||||
value = "SHADER_LOC_MAP_METALNESS",
|
||||
description = ""
|
||||
}
|
||||
},
|
||||
structs = {
|
||||
{
|
||||
name = "Vector2",
|
||||
|
@ -2582,318 +2896,61 @@ return {
|
|||
}
|
||||
}
|
||||
},
|
||||
defines = {
|
||||
callbacks = {
|
||||
{
|
||||
name = "RAYLIB_H",
|
||||
type = "GUARD",
|
||||
value = "",
|
||||
description = ""
|
||||
name = "TraceLogCallback",
|
||||
description = "Logging: Redirect trace log messages",
|
||||
returnType = "void",
|
||||
params = {
|
||||
{type = "int", name = "logLevel"},
|
||||
{type = "const char *", name = "text"},
|
||||
{type = "va_list", name = "args"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "RAYLIB_VERSION",
|
||||
type = "STRING",
|
||||
value = "4.1-dev",
|
||||
description = ""
|
||||
name = "LoadFileDataCallback",
|
||||
description = "FileIO: Load binary data",
|
||||
returnType = "unsigned char *",
|
||||
params = {
|
||||
{type = "const char *", name = "fileName"},
|
||||
{type = "unsigned int *", name = "bytesRead"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "RLAPI",
|
||||
type = "UNKNOWN",
|
||||
value = "__declspec(dllexport)",
|
||||
description = "We are building the library as a Win32 shared library (.dll)"
|
||||
name = "SaveFileDataCallback",
|
||||
description = "FileIO: Save binary data",
|
||||
returnType = "bool",
|
||||
params = {
|
||||
{type = "const char *", name = "fileName"},
|
||||
{type = "void *", name = "data"},
|
||||
{type = "unsigned int", name = "bytesToWrite"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "PI",
|
||||
type = "FLOAT",
|
||||
value = 3.14159265358979323846,
|
||||
description = ""
|
||||
name = "LoadFileTextCallback",
|
||||
description = "FileIO: Load text data",
|
||||
returnType = "char *",
|
||||
params = {
|
||||
{type = "const char *", name = "fileName"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "DEG2RAD",
|
||||
type = "UNKNOWN",
|
||||
value = "(PI/180.0f)",
|
||||
description = ""
|
||||
name = "SaveFileTextCallback",
|
||||
description = "FileIO: Save text data",
|
||||
returnType = "bool",
|
||||
params = {
|
||||
{type = "const char *", name = "fileName"},
|
||||
{type = "char *", name = "text"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "RAD2DEG",
|
||||
type = "UNKNOWN",
|
||||
value = "(180.0f/PI)",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "RL_MALLOC(sz)",
|
||||
type = "MACRO",
|
||||
value = "malloc(sz)",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "RL_CALLOC(n,sz)",
|
||||
type = "MACRO",
|
||||
value = "calloc(n,sz)",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "RL_REALLOC(ptr,sz)",
|
||||
type = "MACRO",
|
||||
value = "realloc(ptr,sz)",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "RL_FREE(ptr)",
|
||||
type = "MACRO",
|
||||
value = "free(ptr)",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "CLITERAL(type)",
|
||||
type = "MACRO",
|
||||
value = "type",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "RL_COLOR_TYPE",
|
||||
type = "GUARD",
|
||||
value = "",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "RL_RECTANGLE_TYPE",
|
||||
type = "GUARD",
|
||||
value = "",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "RL_VECTOR2_TYPE",
|
||||
type = "GUARD",
|
||||
value = "",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "RL_VECTOR3_TYPE",
|
||||
type = "GUARD",
|
||||
value = "",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "RL_VECTOR4_TYPE",
|
||||
type = "GUARD",
|
||||
value = "",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "RL_QUATERNION_TYPE",
|
||||
type = "GUARD",
|
||||
value = "",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "RL_MATRIX_TYPE",
|
||||
type = "GUARD",
|
||||
value = "",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "LIGHTGRAY",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 200, 200, 200, 255 }",
|
||||
description = "Light Gray"
|
||||
},
|
||||
{
|
||||
name = "GRAY",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 130, 130, 130, 255 }",
|
||||
description = "Gray"
|
||||
},
|
||||
{
|
||||
name = "DARKGRAY",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 80, 80, 80, 255 }",
|
||||
description = "Dark Gray"
|
||||
},
|
||||
{
|
||||
name = "YELLOW",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 253, 249, 0, 255 }",
|
||||
description = "Yellow"
|
||||
},
|
||||
{
|
||||
name = "GOLD",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 255, 203, 0, 255 }",
|
||||
description = "Gold"
|
||||
},
|
||||
{
|
||||
name = "ORANGE",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 255, 161, 0, 255 }",
|
||||
description = "Orange"
|
||||
},
|
||||
{
|
||||
name = "PINK",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 255, 109, 194, 255 }",
|
||||
description = "Pink"
|
||||
},
|
||||
{
|
||||
name = "RED",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 230, 41, 55, 255 }",
|
||||
description = "Red"
|
||||
},
|
||||
{
|
||||
name = "MAROON",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 190, 33, 55, 255 }",
|
||||
description = "Maroon"
|
||||
},
|
||||
{
|
||||
name = "GREEN",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 0, 228, 48, 255 }",
|
||||
description = "Green"
|
||||
},
|
||||
{
|
||||
name = "LIME",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 0, 158, 47, 255 }",
|
||||
description = "Lime"
|
||||
},
|
||||
{
|
||||
name = "DARKGREEN",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 0, 117, 44, 255 }",
|
||||
description = "Dark Green"
|
||||
},
|
||||
{
|
||||
name = "SKYBLUE",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 102, 191, 255, 255 }",
|
||||
description = "Sky Blue"
|
||||
},
|
||||
{
|
||||
name = "BLUE",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 0, 121, 241, 255 }",
|
||||
description = "Blue"
|
||||
},
|
||||
{
|
||||
name = "DARKBLUE",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 0, 82, 172, 255 }",
|
||||
description = "Dark Blue"
|
||||
},
|
||||
{
|
||||
name = "PURPLE",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 200, 122, 255, 255 }",
|
||||
description = "Purple"
|
||||
},
|
||||
{
|
||||
name = "VIOLET",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 135, 60, 190, 255 }",
|
||||
description = "Violet"
|
||||
},
|
||||
{
|
||||
name = "DARKPURPLE",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 112, 31, 126, 255 }",
|
||||
description = "Dark Purple"
|
||||
},
|
||||
{
|
||||
name = "BEIGE",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 211, 176, 131, 255 }",
|
||||
description = "Beige"
|
||||
},
|
||||
{
|
||||
name = "BROWN",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 127, 106, 79, 255 }",
|
||||
description = "Brown"
|
||||
},
|
||||
{
|
||||
name = "DARKBROWN",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 76, 63, 47, 255 }",
|
||||
description = "Dark Brown"
|
||||
},
|
||||
{
|
||||
name = "WHITE",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 255, 255, 255, 255 }",
|
||||
description = "White"
|
||||
},
|
||||
{
|
||||
name = "BLACK",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 0, 0, 0, 255 }",
|
||||
description = "Black"
|
||||
},
|
||||
{
|
||||
name = "BLANK",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 0, 0, 0, 0 }",
|
||||
description = "Blank (Transparent)"
|
||||
},
|
||||
{
|
||||
name = "MAGENTA",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 255, 0, 255, 255 }",
|
||||
description = "Magenta"
|
||||
},
|
||||
{
|
||||
name = "RAYWHITE",
|
||||
type = "COLOR",
|
||||
value = "CLITERAL(Color){ 245, 245, 245, 255 }",
|
||||
description = "My own White (raylib logo)"
|
||||
},
|
||||
{
|
||||
name = "RL_BOOL_TYPE",
|
||||
type = "GUARD",
|
||||
value = "",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "MOUSE_LEFT_BUTTON",
|
||||
type = "UNKNOWN",
|
||||
value = "MOUSE_BUTTON_LEFT",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "MOUSE_RIGHT_BUTTON",
|
||||
type = "UNKNOWN",
|
||||
value = "MOUSE_BUTTON_RIGHT",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "MOUSE_MIDDLE_BUTTON",
|
||||
type = "UNKNOWN",
|
||||
value = "MOUSE_BUTTON_MIDDLE",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "MATERIAL_MAP_DIFFUSE",
|
||||
type = "UNKNOWN",
|
||||
value = "MATERIAL_MAP_ALBEDO",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "MATERIAL_MAP_SPECULAR",
|
||||
type = "UNKNOWN",
|
||||
value = "MATERIAL_MAP_METALNESS",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "SHADER_LOC_MAP_DIFFUSE",
|
||||
type = "UNKNOWN",
|
||||
value = "SHADER_LOC_MAP_ALBEDO",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
name = "SHADER_LOC_MAP_SPECULAR",
|
||||
type = "UNKNOWN",
|
||||
value = "SHADER_LOC_MAP_METALNESS",
|
||||
description = ""
|
||||
name = "AudioCallback",
|
||||
description = "",
|
||||
returnType = "void",
|
||||
params = {
|
||||
{type = "void *", name = "bufferData"},
|
||||
{type = "unsigned int", name = "frames"}
|
||||
}
|
||||
}
|
||||
},
|
||||
functions = {
|
||||
|
@ -7322,62 +7379,5 @@ return {
|
|||
{type = "AudioCallback", name = "processor"}
|
||||
}
|
||||
}
|
||||
},
|
||||
callbacks = {
|
||||
{
|
||||
name = "TraceLogCallback",
|
||||
description = "Logging: Redirect trace log messages",
|
||||
returnType = "void",
|
||||
params = {
|
||||
{type = "int", name = "logLevel"},
|
||||
{type = "const char *", name = "text"},
|
||||
{type = "va_list", name = "args"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "LoadFileDataCallback",
|
||||
description = "FileIO: Load binary data",
|
||||
returnType = "unsigned char *",
|
||||
params = {
|
||||
{type = "const char *", name = "fileName"},
|
||||
{type = "unsigned int *", name = "bytesRead"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "SaveFileDataCallback",
|
||||
description = "FileIO: Save binary data",
|
||||
returnType = "bool",
|
||||
params = {
|
||||
{type = "const char *", name = "fileName"},
|
||||
{type = "void *", name = "data"},
|
||||
{type = "unsigned int", name = "bytesToWrite"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "LoadFileTextCallback",
|
||||
description = "FileIO: Load text data",
|
||||
returnType = "char *",
|
||||
params = {
|
||||
{type = "const char *", name = "fileName"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "SaveFileTextCallback",
|
||||
description = "FileIO: Save text data",
|
||||
returnType = "bool",
|
||||
params = {
|
||||
{type = "const char *", name = "fileName"},
|
||||
{type = "char *", name = "text"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "AudioCallback",
|
||||
description = "",
|
||||
returnType = "void",
|
||||
params = {
|
||||
{type = "void *", name = "bufferData"},
|
||||
{type = "unsigned int", name = "frames"}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue