Skip to content

Rename function #322

Answered by basshelal
dexman545 asked this question in Q&A
Feb 16, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

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.
Hope this helps

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dexman545
Comment options

Answer selected by dexman545
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants