-
Is there a way to rename the functions we define in the library interface? interface Lib {
void ffghdn(int a);
} |
Beta Was this translation helpful? Give feedback.
Answered by
basshelal
Feb 18, 2023
Replies: 1 comment 1 reply
-
Unfortunately not yet, this is something I have thought about and we will try to add in the future. Something like the below is what I have in mind: interface Lib {
@NativeName("ffghdn")
void myNativeFunction(int a);
} For now, though, use the ugly C native name. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
dexman545
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unfortunately not yet, this is something I have thought about and we will try to add in the future.
Something like the below is what I have in mind:
For now, though, use the ugly C native name.
Hope this helps