I may be mistaken, but I think that the enumeration in C code is not
transfered through JNA. I think maybe there is something about how the
compiled stuff gets put together that prevents JNA from being able to know
much about that it's a 'enum'.
Levi Yourchuck
Senior Programmer Analyst
G&K Services
Phone: 952 912 5828
www.gkservices.com
Enhancing Image & Safety Through Innovation
This e-mail and any attachments may contain confidential and privileged
information. If you are not the intended recipient, please notify the
sender immediately by return e-mail, delete this e-mail and destroy any
copies. Any dissemination or use of this information by a person other
than the intended recipient is unauthorized and may be illegal.
"daniel jeem" <dani...@gmail.com>
11/12/2008 02:29 AM
Please respond to
use...@jna.dev.java.net
To
use...@jna.dev.java.net
cc
Subject
Re: [jna-users] Re: equivalant of enumerations in JNA
2008/11/10 <LYou...@gkservices.com>
int SUNDAY = 0;
example(SUNDAY);
Hello,
I dont want to implement any thing in my java code, Since the enumeration
are declared in the C code, I just want to use this enumeration.
there is any way to do this.
Regards.