Skip to content

Fix functions that return structs to return structs, not pointers#39

Draft
ZivDero wants to merge 1 commit intoPhobos-developers:phobos-devfrom
ZivDero:fix-struct-return-functions
Draft

Fix functions that return structs to return structs, not pointers#39
ZivDero wants to merge 1 commit intoPhobos-developers:phobos-devfrom
ZivDero:fix-struct-return-functions

Conversation

@ZivDero
Copy link
Copy Markdown

@ZivDero ZivDero commented Jun 8, 2025

No description provided.

@ZivDero ZivDero force-pushed the fix-struct-return-functions branch from 0ea46af to 9946953 Compare June 9, 2025 19:19
@secsome
Copy link
Copy Markdown
Member

secsome commented Apr 15, 2026

LGTM, but Phobos needs to sync with this change I guess, maybe someone will do it later

@Metadorius
Copy link
Copy Markdown
Member

LGTM, but Phobos needs to sync with this change I guess, maybe someone will do it later

sync how? this should be a drop-in change, assuming no one used the "raw" representation

@ZivDero
Copy link
Copy Markdown
Author

ZivDero commented Apr 15, 2026

LGTM, but Phobos needs to sync with this change I guess, maybe someone will do it later

sync how? this should be a drop-in change, assuming no one used the "raw" representation

Nono, this is definitely not "LGTM".
The reason I didn't pursue this to the end is because I got random crashes I was unable to debug at the time.

Otherwise, it's not drop-in so long that any of the changed functions that don't have wrappers are used (since the signature changed).

@Metadorius Metadorius marked this pull request as draft April 15, 2026 16:43
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.

3 participants