4 messages in net.java.dev.jna.usersMapping two-dimensional arrays
FromSent OnAttachments
Albert StrasheimAug 29, 2007 1:41 pm 
Timothy WallAug 29, 2007 3:30 pm 
Albert StrasheimSep 12, 2007 2:14 pm 
Albert StrasheimSep 12, 2007 2:47 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:Mapping two-dimensional arraysActions...
From:Albert Strasheim (full@gmail.com)
Date:Aug 29, 2007 1:41:41 pm
List:net.java.dev.jna.users

Hello all

I'm trying to map a function that takes a two-dimensional array parameter, like:

void foo(int* bar[]);

or equivalently:

void foo(int** bar);

I took a quick look at the JNA unit tests, but I couldn't find an obvious example of how to map this kind of parameter.

Any help would be appreciated.

Cheers,

Albert