Replies: 1 comment
-
Nevermind, the callback functions should be global in my case. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Using Lua for a Xournal++ plugin, I must define various callback functions whose names are passed to the C side (and are called from the C side when the user of the plugin activates the callback) and are never called from Lua. This diagnoses these callback functions with
unused-function
and results in the function code becoming more transparent. That is not what I want. Is there a way to avoid that diagnostic for those callback functoins?Example code:
Beta Was this translation helpful? Give feedback.
All reactions