-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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
GDExtension API: Modulo operator’s enum is misnamed OP_MODULE
#76588
Comments
|
Just came across #16863. |
The GDExtension API reflects what's in the core Variant API: Line 522 in 116f783
Changing this would break compatibility, which we don't want to do before Godot 5 unless it's absolutely needed to fix critical issues. This slight misnomer doesn't seem critical to fix now. |
|
Godot version
as early as 3.1 – 4.0.2
System information
GDExtension (also applies to GDNative)
Issue description
Moved and elaborated from godotengine/godot-headers#105
The modulo operator’s enum in GDExtension/GDNative is named
OP_MODULE
rather thanOP_MODULO
.C header:
godot/core/extension/gdextension_interface.h
Line 119 in 9f12e7b
API JSON: https://github.com/ParadoxV5/godot-headers/blob/732ed57b5f19583a7af4272e58ce509d5ff58586/extension_api.json#L3985
Steps to reproduce
core/extension/gdextension_interface.h
file at around line 119Minimal reproduction project
N/A
The text was updated successfully, but these errors were encountered: