Skip to content

Conversation

@MareOfNights
Copy link

This fixes the failed builds for Linux (See this i2d-ingui issue).

The __cdecl macro seems to be a Windows macro, so i copied the solution found in the imgui/imgui_demo.cpp.

The Windows build has yet to be tested.

@playmer
Copy link
Collaborator

playmer commented Oct 20, 2025

Sorry, I missed that you'd made a PR here, I've been busy so hadn't looked into this until tonight, but I went and updated the bindings and applied this manually (should've cherry-picked because I screwed it up the first time haha), and it seems to work on Linux and Windows.

Due to how we have to branch and such to make all this work I can't apply this directly, but assuming Luna's testing comes back alright this should get in fairly soon, I won't close this until it does.

Appreciate the help! Ideally we could augment the lua generator to use the define here, but I don't really want to go digging in too deep on that.

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