Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HL] Invalid function signature for lime_key_event_manager_register #1516

Closed
player-03 opened this issue Jan 22, 2022 · 1 comment · Fixed by #1517
Closed

[HL] Invalid function signature for lime_key_event_manager_register #1516

player-03 opened this issue Jan 22, 2022 · 1 comment · Fixed by #1517

Comments

@player-03
Copy link
Contributor

4595541 produces this error on HashLink on Linux:

FATAL ERROR : Invalid signature for function lime@lime_key_event_manager_register : PP_vOdiii__v required but PP_vOiiii__v found in hdll

The difference seems to be the third argument, which is indeed the one that was changed.

I tried lime rebuild tools -clean, but that didn't work. The solution probably requires changing a C++ function. (Or conditional compilation as a last resort.)

Shouldn't be hard, but I don't have time to track it down today, so I'm making this issue to help me remember it later.

Apprentice-Alchemist added a commit to Apprentice-Alchemist/lime that referenced this issue Jan 24, 2022
Fixe an inconcistency between the C and haxe sides of the OpenGL bindings.
inovento pushed a commit to inovento/lime that referenced this issue Feb 9, 2022
Fixe an inconcistency between the C and haxe sides of the OpenGL bindings.
Apprentice-Alchemist added a commit to Apprentice-Alchemist/lime that referenced this issue Feb 27, 2022
Fixe an inconcistency between the C and haxe sides of the OpenGL bindings.
Apprentice-Alchemist added a commit to Apprentice-Alchemist/lime that referenced this issue Mar 9, 2022
Fixe an inconcistency between the C and haxe sides of the OpenGL bindings.
Apprentice-Alchemist added a commit to Apprentice-Alchemist/lime that referenced this issue Mar 12, 2022
Fixe an inconcistency between the C and haxe sides of the OpenGL bindings.
Apprentice-Alchemist added a commit to Apprentice-Alchemist/lime that referenced this issue Mar 12, 2022
Apprentice-Alchemist added a commit to Apprentice-Alchemist/lime that referenced this issue Mar 19, 2022
Fixe an inconcistency between the C and haxe sides of the OpenGL bindings.
Apprentice-Alchemist added a commit to Apprentice-Alchemist/lime that referenced this issue Mar 19, 2022
@ShaharMS
Copy link
Contributor

I made a PR that fixed that error, and it was merged in a some weeks ago. The error was produced because the keyCode argument in the event manager was changed from Int to Float to fix some neko issues. I used some very minimal one-liner conditional to fix that:

var keyCode: #if neko Float #else Int

Apprentice-Alchemist added a commit to Apprentice-Alchemist/lime that referenced this issue Apr 14, 2022
Fixe an inconcistency between the C and haxe sides of the OpenGL bindings.
Apprentice-Alchemist added a commit to Apprentice-Alchemist/lime that referenced this issue Apr 14, 2022
Apprentice-Alchemist added a commit to Apprentice-Alchemist/lime that referenced this issue Apr 28, 2022
Fixe an inconcistency between the C and haxe sides of the OpenGL bindings.
Apprentice-Alchemist added a commit to Apprentice-Alchemist/lime that referenced this issue Apr 28, 2022
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 a pull request may close this issue.

2 participants