Skip to content
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

Add missing void return types #2264

Merged
merged 1 commit into from
Jun 5, 2024

Conversation

juliohq
Copy link
Contributor

@juliohq juliohq commented Jun 4, 2024

This PR adds the missing void return types of several functions and callbacks.

@Jowan-Spooner
Copy link
Collaborator

Two non-void return types though.... ts ts ts. 😆 Sorry, excuse me joking 🙈. Looks good to me. For the PackedStringArray though: is the array auto-converted when returned? or do we have to specify it in the function? Did you test that part or assumed it would work?

@juliohq
Copy link
Contributor Author

juliohq commented Jun 4, 2024

In this specific case there is no need to convert Array into PackedStringArray actually, Godot figures it out automatically, maybe due to the built-in function signature.

@Jowan-Spooner
Copy link
Collaborator

Alright. Thanks!

@Jowan-Spooner Jowan-Spooner merged commit 8cf718c into dialogic-godot:main Jun 5, 2024
2 checks passed
@juliohq juliohq deleted the missing-void-returns branch June 5, 2024 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants