X Tutup
Skip to content

GDExtension: Ensure LIBGODOT_API is always defined#114626

Merged
akien-mga merged 1 commit intogodotengine:masterfrom
Repiteo:libgodot/macro-fix
Jan 6, 2026
Merged

GDExtension: Ensure LIBGODOT_API is always defined#114626
akien-mga merged 1 commit intogodotengine:masterfrom
Repiteo:libgodot/macro-fix

Conversation

@Repiteo
Copy link
Contributor

@Repiteo Repiteo commented Jan 5, 2026

Fixes a small oversight in libgodot.h, where the LIBGODOT_API lacked a fallback define for potentially unsupported compilers. Also adds #endif comments to the __cplusplus wrappers, and removes the incorrect #endif comment from the LIBGODOT_API wrapper

@Repiteo Repiteo added this to the 4.x milestone Jan 5, 2026
@Repiteo Repiteo requested a review from a team as a code owner January 5, 2026 18:39
Copy link
Contributor

@dsnopek dsnopek left a comment

Choose a reason for hiding this comment

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

Thanks! Looks good to me :-)

@dsnopek dsnopek modified the milestones: 4.x, 4.6 Jan 5, 2026
@akien-mga akien-mga merged commit c392565 into godotengine:master Jan 6, 2026
20 checks passed
@akien-mga
Copy link
Member

Thanks!

@Repiteo Repiteo deleted the libgodot/macro-fix branch January 9, 2026 18:44
rivie13 pushed a commit to rivie13/Phoenix-Agentic-Engine that referenced this pull request Feb 16, 2026
GDExtension: Ensure `LIBGODOT_API` is always defined
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.

3 participants

X Tutup