Hacker News new | ask | show | jobs
by viraptor 4982 days ago
Unfortunately it's still a huge pain to use JNA with stuff that returns unions (or a pointer to different type depending on the usage context). That makes things like X libraries wrappers really difficult to write in a clean way.

P/Invoke is still much more flexible.