Skip to content

Fixed get_native_singleton retuning nullptr.#775

Merged
praydog merged 1 commit intopraydog:native-singleton-fixfrom
DanteSSS333:master
May 5, 2023
Merged

Fixed get_native_singleton retuning nullptr.#775
praydog merged 1 commit intopraydog:native-singleton-fixfrom
DanteSSS333:master

Conversation

@DanteSSS333
Copy link
Copy Markdown
Contributor

@DanteSSS333 DanteSSS333 commented May 5, 2023

Some native singletons (like via.gui.GUIManager) do not have a RETypeDef, only a REType. get_native_singleton failed for them due to looking for a RETypeDef.

@praydog praydog changed the base branch from master to native-singleton-fix May 5, 2023 08:59
@praydog praydog merged commit fd8144c into praydog:native-singleton-fix May 5, 2023
praydog added a commit that referenced this pull request May 5, 2023
* Fixed get_native_singleton retuning nullptr. (#775)

* Style adjustments and only use REType version as a fallback

---------

Co-authored-by: DanteSSS333 <53407669+DanteSSS333@users.noreply.github.com>
dtlnor pushed a commit to dtlnor/REFramework that referenced this pull request Sep 12, 2024
* Fixed get_native_singleton retuning nullptr. (praydog#775)

* Style adjustments and only use REType version as a fallback

---------

Co-authored-by: DanteSSS333 <53407669+DanteSSS333@users.noreply.github.com>
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