Skip to content

Add missing core types like FixedVector, RWLock - #2086

Draft
poirierlouis wants to merge 3 commits into
godotengine:masterfrom
poirierlouis:feat/core-types
Draft

poirierlouis wants to merge 3 commits into
godotengine:masterfrom
poirierlouis:feat/core-types

Conversation

@poirierlouis

Copy link
Copy Markdown

Stable version as of writing is v4.7.

I found out that some types documented are missing for GDExtension:

After a little chat with @dsnopek , I wrote this PR which includes:

  • ConditionVariable
  • FixedVector
  • LRUCache
  • RingBuffer
  • RWLock
  • SafeBinaryMutex
  • Tuple

I took headers from master (v4.8) 8cc3a57.

It seems #ifdef THREADS_ENABLED is the latest form to use instead of #if !defined(NO_THREADS). Therefore I updated safe_refcount.hpp.

I haven't run tests yet, I'll do so later and squash my commits when ready for a review.

@dsnopek dsnopek added the enhancement This is an enhancement on the current functionality label Nov 18, 2026
@dsnopek dsnopek added this to the 10.x milestone Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement This is an enhancement on the current functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants