jnix icon indicating copy to clipboard operation
jnix copied to clipboard

suggestion: mabey a derive-type macro where you can point it to a C jni header and it expands to a function perhaps?

Open walksanatora opened this issue 2 years ago • 2 comments
trafficstars

this may be a bit complex, but is just a idea i would have liked to see in atleast 1 jni rust crate

walksanatora avatar Sep 01 '23 01:09 walksanatora

Might be a cool idea. But on our end this crate is mostly in low maintenance mode. It works for our use case and we are currently not planning on spending significant resources on improving it further. I'd love to say "PRs welcome". But I suspect that if the PR is very complex it might take some time for us to get the time to properly review it also.

faern avatar Sep 01 '23 08:09 faern

yeah this would be a very complex PR (Idk how i would even do it, can you define heads of functions in a macro, how do you even read and parse a C header to get the macro function to generate)

walksanatora avatar Sep 04 '23 01:09 walksanatora