Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[multi] Rename Is*Ready() to Is*Valid() #3943

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
48 changes: 24 additions & 24 deletions parser/output/raylib_api.json
Original file line number Diff line number Diff line change
Expand Up @@ -3146,7 +3146,7 @@
"returnType": "bool"
},
{
"name": "IsWindowReady",
"name": "IsWindowValid",
"description": "Check if window has been initialized successfully",
"returnType": "bool"
},
Expand Down Expand Up @@ -3738,8 +3738,8 @@
]
},
{
"name": "IsShaderReady",
"description": "Check if a shader is ready",
"name": "IsShaderValid",
"description": "Check if a shader is valid",
"returnType": "bool",
"params": [
{
Expand Down Expand Up @@ -6838,8 +6838,8 @@
"returnType": "Image"
},
{
"name": "IsImageReady",
"description": "Check if an image is ready",
"name": "IsImageValid",
"description": "Check if an image is valid",
"returnType": "bool",
"params": [
{
Expand Down Expand Up @@ -8125,8 +8125,8 @@
]
},
{
"name": "IsTextureReady",
"description": "Check if a texture is ready",
"name": "IsTextureValid",
"description": "Check if a texture is valid",
"returnType": "bool",
"params": [
{
Expand All @@ -8147,8 +8147,8 @@
]
},
{
"name": "IsRenderTextureReady",
"description": "Check if a render texture is ready",
"name": "IsRenderTextureValid",
"description": "Check if a render texture is valid",
"returnType": "bool",
"params": [
{
Expand Down Expand Up @@ -8723,8 +8723,8 @@
]
},
{
"name": "IsFontReady",
"description": "Check if a font is ready",
"name": "IsFontValid",
"description": "Check if a font is valid",
"returnType": "bool",
"params": [
{
Expand Down Expand Up @@ -9993,8 +9993,8 @@
]
},
{
"name": "IsModelReady",
"description": "Check if a model is ready",
"name": "IsModelValid",
"description": "Check if a model is valid",
"returnType": "bool",
"params": [
{
Expand Down Expand Up @@ -10626,8 +10626,8 @@
"returnType": "Material"
},
{
"name": "IsMaterialReady",
"description": "Check if a material is ready",
"name": "IsMaterialValid",
"description": "Check if a material is valid",
"returnType": "bool",
"params": [
{
Expand Down Expand Up @@ -10931,7 +10931,7 @@
"returnType": "void"
},
{
"name": "IsAudioDeviceReady",
"name": "IsAudioDeviceValid",
"description": "Check if audio device has been initialized successfully",
"returnType": "bool"
},
Expand Down Expand Up @@ -10982,8 +10982,8 @@
]
},
{
"name": "IsWaveReady",
"description": "Checks if wave data is ready",
"name": "IsWaveValid",
"description": "Checks if wave data is valid",
"returnType": "bool",
"params": [
{
Expand Down Expand Up @@ -11026,8 +11026,8 @@
]
},
{
"name": "IsSoundReady",
"description": "Checks if a sound is ready",
"name": "IsSoundValid",
"description": "Checks if a sound is valid",
"returnType": "bool",
"params": [
{
Expand Down Expand Up @@ -11324,8 +11324,8 @@
]
},
{
"name": "IsMusicReady",
"description": "Checks if a music stream is ready",
"name": "IsMusicValid",
"description": "Checks if a music stream is valid",
"returnType": "bool",
"params": [
{
Expand Down Expand Up @@ -11513,8 +11513,8 @@
]
},
{
"name": "IsAudioStreamReady",
"description": "Checks if an audio stream is ready",
"name": "IsAudioStreamValid",
"description": "Checks if an audio stream is valid",
"returnType": "bool",
"params": [
{
Expand Down
48 changes: 24 additions & 24 deletions parser/output/raylib_api.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3098,7 +3098,7 @@ return {
returnType = "bool"
},
{
name = "IsWindowReady",
name = "IsWindowValid",
description = "Check if window has been initialized successfully",
returnType = "bool"
},
Expand Down Expand Up @@ -3564,8 +3564,8 @@ return {
}
},
{
name = "IsShaderReady",
description = "Check if a shader is ready",
name = "IsShaderValid",
description = "Check if a shader is valid",
returnType = "bool",
params = {
{type = "Shader", name = "shader"}
Expand Down Expand Up @@ -5341,8 +5341,8 @@ return {
returnType = "Image"
},
{
name = "IsImageReady",
description = "Check if an image is ready",
name = "IsImageValid",
description = "Check if an image is valid",
returnType = "bool",
params = {
{type = "Image", name = "image"}
Expand Down Expand Up @@ -6025,8 +6025,8 @@ return {
}
},
{
name = "IsTextureReady",
description = "Check if a texture is ready",
name = "IsTextureValid",
description = "Check if a texture is valid",
returnType = "bool",
params = {
{type = "Texture2D", name = "texture"}
Expand All @@ -6041,8 +6041,8 @@ return {
}
},
{
name = "IsRenderTextureReady",
description = "Check if a render texture is ready",
name = "IsRenderTextureValid",
description = "Check if a render texture is valid",
returnType = "bool",
params = {
{type = "RenderTexture2D", name = "target"}
Expand Down Expand Up @@ -6362,8 +6362,8 @@ return {
}
},
{
name = "IsFontReady",
description = "Check if a font is ready",
name = "IsFontValid",
description = "Check if a font is valid",
returnType = "bool",
params = {
{type = "Font", name = "font"}
Expand Down Expand Up @@ -7026,8 +7026,8 @@ return {
}
},
{
name = "IsModelReady",
description = "Check if a model is ready",
name = "IsModelValid",
description = "Check if a model is valid",
returnType = "bool",
params = {
{type = "Model", name = "model"}
Expand Down Expand Up @@ -7356,8 +7356,8 @@ return {
returnType = "Material"
},
{
name = "IsMaterialReady",
description = "Check if a material is ready",
name = "IsMaterialValid",
description = "Check if a material is valid",
returnType = "bool",
params = {
{type = "Material", name = "material"}
Expand Down Expand Up @@ -7529,7 +7529,7 @@ return {
returnType = "void"
},
{
name = "IsAudioDeviceReady",
name = "IsAudioDeviceValid",
description = "Check if audio device has been initialized successfully",
returnType = "bool"
},
Expand Down Expand Up @@ -7565,8 +7565,8 @@ return {
}
},
{
name = "IsWaveReady",
description = "Checks if wave data is ready",
name = "IsWaveValid",
description = "Checks if wave data is valid",
returnType = "bool",
params = {
{type = "Wave", name = "wave"}
Expand Down Expand Up @@ -7597,8 +7597,8 @@ return {
}
},
{
name = "IsSoundReady",
description = "Checks if a sound is ready",
name = "IsSoundValid",
description = "Checks if a sound is valid",
returnType = "bool",
params = {
{type = "Sound", name = "sound"}
Expand Down Expand Up @@ -7787,8 +7787,8 @@ return {
}
},
{
name = "IsMusicReady",
description = "Checks if a music stream is ready",
name = "IsMusicValid",
description = "Checks if a music stream is valid",
returnType = "bool",
params = {
{type = "Music", name = "music"}
Expand Down Expand Up @@ -7913,8 +7913,8 @@ return {
}
},
{
name = "IsAudioStreamReady",
description = "Checks if an audio stream is ready",
name = "IsAudioStreamValid",
description = "Checks if an audio stream is valid",
returnType = "bool",
params = {
{type = "AudioStream", name = "stream"}
Expand Down