A
Alain-Pierre BRUNEL
Hi, I use a native SDK written in C from a Java code (thanks to JNI).
An issue I have is that the C API contains some constants and enum
structs.
I have to redefine these constants on the Java side, because I don't
know how to import these "enum" & "#define".
It makes a coherence issue between the C Headers & the Java const.
If the C Headers constants values change, I've to change the Java
classes.
Do you know a way to import native defined constants into Java code ?
Regards,
Alain-Pierre.
PS: please reply on the news or at (e-mail address removed).
(replace "1brunel1" by "brunel" to get my valid address)
An issue I have is that the C API contains some constants and enum
structs.
I have to redefine these constants on the Java side, because I don't
know how to import these "enum" & "#define".
It makes a coherence issue between the C Headers & the Java const.
If the C Headers constants values change, I've to change the Java
classes.
Do you know a way to import native defined constants into Java code ?
Regards,
Alain-Pierre.
PS: please reply on the news or at (e-mail address removed).
(replace "1brunel1" by "brunel" to get my valid address)