1 message in net.java.dev.jna.users[jna-users]:
FromSent OnAttachments
amina guermoucheAug 27, 2008 12:13 am 
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:[jna-users]:Actions...
From:amina guermouche (guer@yahoo.fr)
Date:Aug 27, 2008 12:13:31 am
List:net.java.dev.jna.users

Hello,

I've read that if therer's a File * in C, it's replaced by a Pointer in Java. My C program is like that: File * sparse_fd; bunch_of_ray(sparse_fd); (the prototype is: void bunch_of_ray(File *f) change_to_next_files (&sparse_fd); (the prototype is void
change_to_next_files(File ** a)

I don't know how to declare sparse_fd. If is was used just as a File *, I'd have
declared it as a Pointer, and if it was just used as a File ** (with &sparse_fd)
I'd have declared it as a PointerByReference (I think). But as it's used as both
File * and File **, I don't know what to do.

Thanks.