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

[C#] Unexpose GodotSharp #91557

Merged
merged 1 commit into from
May 21, 2024
Merged

Conversation

AThousandShips
Copy link
Member

@AThousandShips AThousandShips commented May 4, 2024

Based on discussion in chat

As an optional addition I exposed the is_runtime_initialized method as a static method on CSharpScript, as CSharpLanguage isn't exposed that was the best place I could think of, if we do need to expose it in the first place

Alternatively, for an even hackier approach than the existing one we could create a dummy class in the editor docs to handle this, haven't tried that out though, but it should be possible

This class seems to have been exposed accidentally, and breaks
documentation on non-mono builds, requiring hacks
@AThousandShips AThousandShips added this to the 4.3 milestone May 4, 2024
@AThousandShips AThousandShips requested review from a team as code owners May 4, 2024 12:16
@AThousandShips AThousandShips changed the title Dotnet doc fix [C#] Unexpose GodotSharp May 4, 2024
@raulsntos
Copy link
Member

I don't think we need to re-expose is_runtime_initialized. I'm a bit worried about breaking users currently using this method but they'd be broken by this change anyway.

Copy link
Member

@raulsntos raulsntos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@akien-mga akien-mga merged commit c0eb347 into godotengine:master May 21, 2024
16 checks passed
@AThousandShips AThousandShips deleted the dotnet_doc_fix branch May 21, 2024 09:24
@akien-mga
Copy link
Member

Thanks!

@AThousandShips
Copy link
Member Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GodotSharp link broken in GlobalScope docs
3 participants