Skip to content

Cleanups regarding unsafe#1504

Merged
Bromeon merged 3 commits intomasterfrom
qol/cleanups
Feb 16, 2026
Merged

Cleanups regarding unsafe#1504
Bromeon merged 3 commits intomasterfrom
qol/cleanups

Conversation

@Bromeon
Copy link
Member

@Bromeon Bromeon commented Feb 16, 2026

Following #1500, some places can be made more consistent in the short term. As mentioned there, there's still bigger potential to reduce the overall unsafe surface, with a combined use of:

  • Type-state (some pointers could be seen as valid after going through some operations)
  • Some safe FFI functions (once initialized) -- combined with JSON
  • Establish common patterns, like converting GDExtensionObjectPtr and related pointers

@Bromeon Bromeon added the quality-of-life No new functionality, but improves ergonomics/internals label Feb 16, 2026
@Bromeon Bromeon enabled auto-merge February 16, 2026 19:38
@Bromeon Bromeon added this pull request to the merge queue Feb 16, 2026
Merged via the queue into master with commit b2603b3 Feb 16, 2026
23 checks passed
@Bromeon Bromeon deleted the qol/cleanups branch February 16, 2026 19:57
@GodotRust
Copy link

API docs are being generated and will be shortly available at: https://godot-rust.github.io/docs/gdext/pr-1504

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

Labels

quality-of-life No new functionality, but improves ergonomics/internals

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants