2 messages in net.java.dev.jna.users[jna-users] Re : [jna-users] struct *...
FromSent OnAttachments
amina guermoucheOct 22, 2008 9:04 am 
Paul LoyOct 22, 2008 9:22 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] Re : [jna-users] struct **** as argumentActions...
From:amina guermouche (guer@yahoo.fr)
Date:Oct 22, 2008 9:04:01 am
List:net.java.dev.jna.users

How do I initialize a Pointer? Whenever I use Pointer a and then call a function that has a as a parameter, I
have an error about initialization of the pointer. Thanks.

________________________________ De : Paul Loy <kete@gmail.com> À : use@jna.dev.java.net Envoyé le : Mercredi, 22 Octobre 2008, 17h40mn 22s Objet : Re: [jna-users] struct **** as argument

Pointer looks like the one to use here.

On Wed, Oct 22, 2008 at 4:35 PM, amina guermouche <guer@yahoo.fr> wrote:

Hie, I have a C structure called mesh_t. It's used as a mesh_t **** a and is an argument of a function I need to call
from JAVA: void bunch_of_ray(struct mesh_t ****a)

I don't know how to write this function in JAVA (if it was just a struct *
mesh_t I'd have passed the structure direclty). Thank You.

--------------------------------------------- Paul Loy pa@keteracel.com http://www.keteracel.com/paul