Skip to content

fix GCC compilation error due to _bee_lua_apicheck() sig mismatch#316

Merged
actboy168 merged 1 commit intoactboy168:masterfrom
vworlds:fix-bee-apicheck-void
Apr 7, 2025
Merged

fix GCC compilation error due to _bee_lua_apicheck() sig mismatch#316
actboy168 merged 1 commit intoactboy168:masterfrom
vworlds:fix-bee-apicheck-void

Conversation

@jpeletier
Copy link
Copy Markdown
Contributor

_bee_lua_apicheck function has this signature upstream:

_bee_lua_apicheck(void* l, const char* message, const char* file, unsigned line)

However, onlelua.c has this signature:

_bee_lua_apicheck(lua_State* L, const char* message, const char* file, unsigned line)

(first parameter is of different type)

This causes compilation errors, at least in GCC 13. The PR fixes this.

@actboy168 actboy168 merged commit 070cf2a into actboy168:master Apr 7, 2025
6 checks passed
@jpeletier jpeletier deleted the fix-bee-apicheck-void branch April 7, 2025 08:48
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