Properly escape strings

This commit is contained in:
eutro 2021-12-14 22:32:20 +00:00
commit 482389cb95

View file

@ -1257,7 +1257,7 @@
{
"name": "KEY_BACKSLASH",
"value": 92,
"description": "Key: '\'"
"description": "Key: '\\'"
},
{
"name": "KEY_RIGHT_BRACKET",
@ -3244,7 +3244,7 @@
},
{
"name": "LoadFileText",
"description": "Load text data from file (read), returns a ' 0' terminated string",
"description": "Load text data from file (read), returns a '\\0' terminated string",
"returnType": "char *",
"params": {
"fileName": "const char *"
@ -3260,7 +3260,7 @@
},
{
"name": "SaveFileText",
"description": "Save text data to file (write), string must be ' 0' terminated, returns true on success",
"description": "Save text data to file (write), string must be '\\0' terminated, returns true on success",
"returnType": "bool",
"params": {
"fileName": "const char *",
@ -5519,7 +5519,7 @@
},
{
"name": "TextLength",
"description": "Get text length, checks for ' 0' ending",
"description": "Get text length, checks for '\\0' ending",
"returnType": "unsigned int",
"params": {
"text": "const char *"