From 9ace1489175a375529a6e8510b75f0c8a7b34cc0 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Wed, 3 Jun 2026 19:07:28 +0000
Subject: [PATCH] rlparser: update raylib_api.* by CI
---
tools/rlparser/output/raylib_api.json | 16 ++++++++--------
tools/rlparser/output/raylib_api.lua | 16 ++++++++--------
tools/rlparser/output/raylib_api.txt | 16 ++++++++--------
tools/rlparser/output/raylib_api.xml | 14 +++++++-------
4 files changed, 31 insertions(+), 31 deletions(-)
diff --git a/tools/rlparser/output/raylib_api.json b/tools/rlparser/output/raylib_api.json
index 1d6b19c3f..0da5fc3e0 100644
--- a/tools/rlparser/output/raylib_api.json
+++ b/tools/rlparser/output/raylib_api.json
@@ -4427,7 +4427,7 @@
},
{
"name": "FileRename",
- "description": "Rename file (if exists)",
+ "description": "Rename file (if exists), returns 0 on success",
"returnType": "int",
"params": [
{
@@ -4442,7 +4442,7 @@
},
{
"name": "FileRemove",
- "description": "Remove file (if exists)",
+ "description": "Remove file (if exists), returns 0 on success",
"returnType": "int",
"params": [
{
@@ -4453,7 +4453,7 @@
},
{
"name": "FileCopy",
- "description": "Copy file from one path to another, dstPath created if it doesn't exist",
+ "description": "Copy file from one path to another, dstPath created if it doesn't exist, returns 0 on success",
"returnType": "int",
"params": [
{
@@ -4468,7 +4468,7 @@
},
{
"name": "FileMove",
- "description": "Move file from one directory to another, dstPath created if it doesn't exist",
+ "description": "Move file from one directory to another, dstPath created if it doesn't exist, returns 0 on success",
"returnType": "int",
"params": [
{
@@ -4483,7 +4483,7 @@
},
{
"name": "FileTextReplace",
- "description": "Replace text in an existing file",
+ "description": "Replace text in an existing file, returns 0 on success",
"returnType": "int",
"params": [
{
@@ -4502,7 +4502,7 @@
},
{
"name": "FileTextFindIndex",
- "description": "Find text in existing file",
+ "description": "Find text in existing file, returns -1 if index not found or index otherwise",
"returnType": "int",
"params": [
{
@@ -4652,8 +4652,8 @@
},
{
"name": "ChangeDirectory",
- "description": "Change working directory, return true on success",
- "returnType": "bool",
+ "description": "Change working directory, returns 0 on success",
+ "returnType": "int",
"params": [
{
"type": "const char *",
diff --git a/tools/rlparser/output/raylib_api.lua b/tools/rlparser/output/raylib_api.lua
index eaae7e493..6fa5d9321 100644
--- a/tools/rlparser/output/raylib_api.lua
+++ b/tools/rlparser/output/raylib_api.lua
@@ -4022,7 +4022,7 @@ return {
},
{
name = "FileRename",
- description = "Rename file (if exists)",
+ description = "Rename file (if exists), returns 0 on success",
returnType = "int",
params = {
{type = "const char *", name = "fileName"},
@@ -4031,7 +4031,7 @@ return {
},
{
name = "FileRemove",
- description = "Remove file (if exists)",
+ description = "Remove file (if exists), returns 0 on success",
returnType = "int",
params = {
{type = "const char *", name = "fileName"}
@@ -4039,7 +4039,7 @@ return {
},
{
name = "FileCopy",
- description = "Copy file from one path to another, dstPath created if it doesn't exist",
+ description = "Copy file from one path to another, dstPath created if it doesn't exist, returns 0 on success",
returnType = "int",
params = {
{type = "const char *", name = "srcPath"},
@@ -4048,7 +4048,7 @@ return {
},
{
name = "FileMove",
- description = "Move file from one directory to another, dstPath created if it doesn't exist",
+ description = "Move file from one directory to another, dstPath created if it doesn't exist, returns 0 on success",
returnType = "int",
params = {
{type = "const char *", name = "srcPath"},
@@ -4057,7 +4057,7 @@ return {
},
{
name = "FileTextReplace",
- description = "Replace text in an existing file",
+ description = "Replace text in an existing file, returns 0 on success",
returnType = "int",
params = {
{type = "const char *", name = "fileName"},
@@ -4067,7 +4067,7 @@ return {
},
{
name = "FileTextFindIndex",
- description = "Find text in existing file",
+ description = "Find text in existing file, returns -1 if index not found or index otherwise",
returnType = "int",
params = {
{type = "const char *", name = "fileName"},
@@ -4175,8 +4175,8 @@ return {
},
{
name = "ChangeDirectory",
- description = "Change working directory, return true on success",
- returnType = "bool",
+ description = "Change working directory, returns 0 on success",
+ returnType = "int",
params = {
{type = "const char *", name = "dirPath"}
}
diff --git a/tools/rlparser/output/raylib_api.txt b/tools/rlparser/output/raylib_api.txt
index ee54892d9..97d2350c0 100644
--- a/tools/rlparser/output/raylib_api.txt
+++ b/tools/rlparser/output/raylib_api.txt
@@ -1667,37 +1667,37 @@ Function 123: SetSaveFileTextCallback() (1 input parameters)
Function 124: FileRename() (2 input parameters)
Name: FileRename
Return type: int
- Description: Rename file (if exists)
+ Description: Rename file (if exists), returns 0 on success
Param[1]: fileName (type: const char *)
Param[2]: fileRename (type: const char *)
Function 125: FileRemove() (1 input parameters)
Name: FileRemove
Return type: int
- Description: Remove file (if exists)
+ Description: Remove file (if exists), returns 0 on success
Param[1]: fileName (type: const char *)
Function 126: FileCopy() (2 input parameters)
Name: FileCopy
Return type: int
- Description: Copy file from one path to another, dstPath created if it doesn't exist
+ Description: Copy file from one path to another, dstPath created if it doesn't exist, returns 0 on success
Param[1]: srcPath (type: const char *)
Param[2]: dstPath (type: const char *)
Function 127: FileMove() (2 input parameters)
Name: FileMove
Return type: int
- Description: Move file from one directory to another, dstPath created if it doesn't exist
+ Description: Move file from one directory to another, dstPath created if it doesn't exist, returns 0 on success
Param[1]: srcPath (type: const char *)
Param[2]: dstPath (type: const char *)
Function 128: FileTextReplace() (3 input parameters)
Name: FileTextReplace
Return type: int
- Description: Replace text in an existing file
+ Description: Replace text in an existing file, returns 0 on success
Param[1]: fileName (type: const char *)
Param[2]: search (type: const char *)
Param[3]: replacement (type: const char *)
Function 129: FileTextFindIndex() (2 input parameters)
Name: FileTextFindIndex
Return type: int
- Description: Find text in existing file
+ Description: Find text in existing file, returns -1 if index not found or index otherwise
Param[1]: fileName (type: const char *)
Param[2]: search (type: const char *)
Function 130: FileExists() (1 input parameters)
@@ -1768,8 +1768,8 @@ Function 142: MakeDirectory() (1 input parameters)
Param[1]: dirPath (type: const char *)
Function 143: ChangeDirectory() (1 input parameters)
Name: ChangeDirectory
- Return type: bool
- Description: Change working directory, return true on success
+ Return type: int
+ Description: Change working directory, returns 0 on success
Param[1]: dirPath (type: const char *)
Function 144: IsPathFile() (1 input parameters)
Name: IsPathFile
diff --git a/tools/rlparser/output/raylib_api.xml b/tools/rlparser/output/raylib_api.xml
index 798cdd4cb..7fd73e2ed 100644
--- a/tools/rlparser/output/raylib_api.xml
+++ b/tools/rlparser/output/raylib_api.xml
@@ -1051,27 +1051,27 @@
-
+
-
+
-
+
-
+
-
+
-
+
@@ -1113,7 +1113,7 @@
-
+