nagyistoce / jnaerator

Automatically exported from code.google.com/p/jnaerator
0 stars 0 forks source link

Translate macros and inline functions to Java #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When the expressions are simple enough to be understood, we should provide 
the macros and inline functions encountered during the parsing so that 
they're available from Java.

Possible implementation approaches : 
- add a "MACROS" / "INLINE" / "_" subclass to generated classes
- add macros and functions as simple methods to the regular top-level 
library interface, but tag them with an annotation that somehow indicates 
where to find the implementation (inner class ?) and let a modified JNA do 
the job of wiring them (slow, partly negates interest of inline).

Original issue reported on code.google.com by olivier.chafik@gmail.com on 19 Feb 2009 at 7:10

GoogleCodeExporter commented 9 years ago

Original comment by olivier.chafik@gmail.com on 19 Feb 2009 at 10:09

GoogleCodeExporter commented 9 years ago

Original comment by olivier.chafik@gmail.com on 19 Feb 2009 at 10:16

GoogleCodeExporter commented 9 years ago

Original comment by olivier.chafik@gmail.com on 21 Feb 2009 at 9:58

GoogleCodeExporter commented 9 years ago
Hi,
This issue moved to Github :
https://github.com/ochafik/nativelibs4java/issues/110

Thanks for not updating this page anymore and adding further comments on Github.
Cheers
--
zOlive

Original comment by olivier.chafik@gmail.com on 1 Sep 2011 at 7:22