-
-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More complete #[export] implementation
- Rename arguments `getter` and `setter` to `get` and `set` to stay closer to GDScript and save keystrokes. - Allow `get` and `set` without arguments to generate the corresponding function. - Assume generated `get` and `set` if neither has been given. - Check at compile time that the referenced getter and setter actually exist (otherwise Godot gives a cryptic "invalid get/set index" error). - Remove unused `property` argument. - Add documentation for `GodotClass` derive macro.
- Loading branch information
Showing
6 changed files
with
374 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.