Skip to content

Add Variant binders for the generated classes, structs and global enums - #699

Merged
akien-mga merged 1 commit into
godotengine:masterfrom
bruvzg:enum_and_ptr_binds
Feb 16, 2022
Merged

akien-mga merged 1 commit into
godotengine:masterfrom
bruvzg:enum_and_ptr_binds

Conversation

@bruvzg

@bruvzg bruvzg commented Feb 15, 2022

Copy link
Copy Markdown
Member

Adds GDVIRTUAL_NATIVE_PTR and VARIANT_ENUM_CAST binder for the generated headers, this allows to bind/override methods with NativePtr and enum type arguments / returns.

@bruvzg bruvzg added bug This has been identified as a bug enhancement This is an enhancement on the current functionality topic:gdextension This relates to the new Godot 4 extension implementation labels Feb 15, 2022
@bruvzg bruvzg added this to the 4.0 milestone Feb 15, 2022
@akien-mga
akien-mga merged commit d911135 into godotengine:master Feb 16, 2022
@akien-mga

Copy link
Copy Markdown
Member

Thanks!

@bruvzg
bruvzg deleted the enum_and_ptr_binds branch February 16, 2022 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug This has been identified as a bug enhancement This is an enhancement on the current functionality topic:gdextension This relates to the new Godot 4 extension implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants