-
-
Notifications
You must be signed in to change notification settings - Fork 656
Sync the TypedDictionary class #1772
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
base: master
Are you sure you want to change the base?
Conversation
f9531a5
to
b6ccb25
Compare
Thanks! The code changes match what's in Godot's version, but the test project fails to compile for me locally. The CI didn't fail, because it looks like the jobs that build the test project didn't run? I'm not sure what that's about. Anyway, the these are the errors I'm getting: Compilation errors
It seems to come from this function on the
The problem appears to be that it's using a const reference. If I change this to:
Then it compiles just fine! I think the Godot version depends on this code in
So, I think we need to sync |
thats probably my fault from when i merged in the selective compile depending on what source changes. I'll double check and submit a PR shortly, unless someone else gets to it first. Edit: Checked and yes its my fault, the filter only picksu up .h and not .hpp with:
files_yaml: sources:
- '.github/workflows/*.yml'
- '**/*.py'
- '**/*.cpp'
- '**/*.h'
- 'test/build_profile.json'
- 'gdextension/extension_api.json'
scons:
- '**/SConstruct'
- '**/SCsub'
- '**/*.py'
cmake:
- '**/CMakeLists.txt'
- '**/*.cmake' |
Copied over TypedDictionary class from Godot, re-commented out the
IPAddress
macro lines and changed theVARIANT_TYPE
andMETADATA
variables to use their respective GDExtension enum types.Tested on one of my projects and it seems to work fine.