clong
clong copied to clipboard
Support for native image
An incomplete list of changes required to support native image:
- com.phronemophobic.clong.gen.jna generates the code needed for functions, but also loads
insn.coreto create structure classes.insn.coremust only be loaded when compiling. - Structure/newInstance causes classes to be loaded at build time that shouldn't be. Need a work around.
- Figure out options for loading NativeLibrary that support both static and shared?
Coercion inside generated functions also does class generation and relies on gen.jna namespace code.
Fixed in v1.4!