|
|
@ -4009,6 +4009,60 @@ return { |
|
|
|
{type = "const char *", name = "text"} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
name = "FileRename", |
|
|
|
description = "Rename file (if exists)", |
|
|
|
returnType = "int", |
|
|
|
params = { |
|
|
|
{type = "const char *", name = "fileName"}, |
|
|
|
{type = "const char *", name = "fileRename"} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
name = "FileRemove", |
|
|
|
description = "Remove file (if exists)", |
|
|
|
returnType = "int", |
|
|
|
params = { |
|
|
|
{type = "const char *", name = "fileName"} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
name = "FileCopy", |
|
|
|
description = "Copy file from one path to another, dstPath created if it doesn't exist", |
|
|
|
returnType = "int", |
|
|
|
params = { |
|
|
|
{type = "const char *", name = "srcPath"}, |
|
|
|
{type = "const char *", name = "dstPath"} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
name = "FileMove", |
|
|
|
description = "Move file from one directory to another, dstPath created if it doesn't exist", |
|
|
|
returnType = "int", |
|
|
|
params = { |
|
|
|
{type = "const char *", name = "srcPath"}, |
|
|
|
{type = "const char *", name = "dstPath"} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
name = "FileTextReplace", |
|
|
|
description = "Replace text in an existing file", |
|
|
|
returnType = "int", |
|
|
|
params = { |
|
|
|
{type = "const char *", name = "fileName"}, |
|
|
|
{type = "const char *", name = "search"}, |
|
|
|
{type = "const char *", name = "replacement"} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
name = "FileTextFindIndex", |
|
|
|
description = "Find text in existing file", |
|
|
|
returnType = "int", |
|
|
|
params = { |
|
|
|
{type = "const char *", name = "fileName"}, |
|
|
|
{type = "const char *", name = "search"} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
name = "FileExists", |
|
|
|
description = "Check if file exists", |
|
|
@ -4042,6 +4096,14 @@ return { |
|
|
|
{type = "const char *", name = "fileName"} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
name = "GetFileModTime", |
|
|
|
description = "Get file modification time (last write time)", |
|
|
|
returnType = "long", |
|
|
|
params = { |
|
|
|
{type = "const char *", name = "fileName"} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
name = "GetFileExtension", |
|
|
|
description = "Get pointer to extension for a filename string (includes dot: '.png')", |
|
|
@ -4168,14 +4230,6 @@ return { |
|
|
|
{type = "FilePathList", name = "files"} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
name = "GetFileModTime", |
|
|
|
description = "Get file modification time (last write time)", |
|
|
|
returnType = "long", |
|
|
|
params = { |
|
|
|
{type = "const char *", name = "fileName"} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
name = "CompressData", |
|
|
|
description = "Compress data (DEFLATE algorithm), memory must be MemFree()", |
|
|
@ -6909,14 +6963,43 @@ return { |
|
|
|
{type = "int", name = "length"} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
name = "TextRemoveSpaces", |
|
|
|
description = "Remove text spaces, concat words", |
|
|
|
returnType = "const char *", |
|
|
|
params = { |
|
|
|
{type = "const char *", name = "text"} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
name = "GetTextBetween", |
|
|
|
description = "Get text between two strings", |
|
|
|
returnType = "char *", |
|
|
|
params = { |
|
|
|
{type = "const char *", name = "text"}, |
|
|
|
{type = "const char *", name = "begin"}, |
|
|
|
{type = "const char *", name = "end"} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
name = "TextReplace", |
|
|
|
description = "Replace text string (WARNING: memory must be freed!)", |
|
|
|
returnType = "char *", |
|
|
|
params = { |
|
|
|
{type = "const char *", name = "text"}, |
|
|
|
{type = "const char *", name = "replace"}, |
|
|
|
{type = "const char *", name = "by"} |
|
|
|
{type = "const char *", name = "search"}, |
|
|
|
{type = "const char *", name = "replacement"} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
name = "TextReplaceBetween", |
|
|
|
description = "Replace text between two specific strings (WARNING: memory must be freed!)", |
|
|
|
returnType = "char *", |
|
|
|
params = { |
|
|
|
{type = "const char *", name = "text"}, |
|
|
|
{type = "const char *", name = "begin"}, |
|
|
|
{type = "const char *", name = "end"}, |
|
|
|
{type = "const char *", name = "replacement"} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
@ -6951,7 +7034,7 @@ return { |
|
|
|
}, |
|
|
|
{ |
|
|
|
name = "TextAppend", |
|
|
|
description = "Append text at specific position and move cursor!", |
|
|
|
description = "Append text at specific position and move cursor", |
|
|
|
returnType = "void", |
|
|
|
params = { |
|
|
|
{type = "char *", name = "text"}, |
|
|
@ -6965,7 +7048,7 @@ return { |
|
|
|
returnType = "int", |
|
|
|
params = { |
|
|
|
{type = "const char *", name = "text"}, |
|
|
|
{type = "const char *", name = "find"} |
|
|
|
{type = "const char *", name = "search"} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|