12 messages in net.java.dev.jna.usersRe: [jna-users] Re: equivalant of enu...
FromSent OnAttachments
daniel jeemNov 10, 2008 12:00 am 
daniel jeemNov 10, 2008 1:33 am 
Stephen ConnollyNov 10, 2008 2:38 am 
daniel jeemNov 10, 2008 3:30 am 
daniel jeemNov 10, 2008 7:35 am 
Stefan EndrullisNov 10, 2008 8:09 am 
LYou...@gkservices.comNov 10, 2008 9:07 am 
daniel jeemNov 11, 2008 12:54 am 
daniel jeemNov 12, 2008 12:28 am 
Stefan EndrullisNov 12, 2008 2:26 am 
daniel jeemNov 12, 2008 5:08 am 
LYou...@gkservices.comNov 12, 2008 2:37 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [jna-users] Re: equivalant of enumerations in JNAActions...
From:Stefan Endrullis (ste@endrullis.de)
Date:Nov 12, 2008 2:26:04 am
List:net.java.dev.jna.users

daniel jeem schrieb:

2008/11/10 <LYou@gkservices.com <mailto: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.

The Java compiler can only interpret Java code. Thus you cannot use the C enumeration without transforming it into Java code before.

Regards, Stefan