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

[hashlink] Optional native functions generate incorrect C code. #10509

Closed
Apprentice-Alchemist opened this issue Nov 29, 2021 · 0 comments
Closed
Labels
bug platform-hl Everything related to HashLink

Comments

@Apprentice-Alchemist
Copy link
Contributor

@:hlNative("?std","foo")
function foo() {}

function main() {
    foo();
}

will generate

HL_API void ?std_foo(void);

which is obviously incorrect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug platform-hl Everything related to HashLink
Projects
None yet
Development

No branches or pull requests

2 participants