-
-
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.
153: Implement more Variant accessors r=Bromeon a=astrale-sharp Closes #140 The test for stringify are looking pretty good in my opinion This is not ready to merge : [ ] Discuss mapped method returned type (sys::GDExtensionBool, sys::GDExtensionInt, etc) [ ] Test all mapped method [ ] remove itest(focus) [ ] squash the commits Currently I wrote this kind of code, I have ```rust pub fn booleanize(&self) -> sys::GDExtensionBool { interface_fn!(variant_booleanize)(self.var_sys()) } ``` Which is bad cause we probably don't want sys::GDExtensionBool to be seen by users, instead I guess it should return a regular rust boolean but I'm unsure how to do the conversion yet, it's probably somewhere in the code Co-authored-by: Astrale <jules180798@yahoo.fr>
- Loading branch information
Showing
2 changed files
with
77 additions
and
2 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