From: Michael K Rohan <mrohan@ix.netcom.com>
Subject: Ada/C [GNAT]: Accessing C arrays from Ada
Date: 1996/08/26
Date: 1996-08-26T21:18:03-05:00 [thread overview]
Message-ID: <32225A96.4512F115@ix.netcom.com> (raw)
Hello,
I'm trying to figure out the best way to use a C pointer as an array
from Ada. I have a C service function which returns the number of items
and a pointer to a vector of the items:
Query(int *n, item** items);
Interfacing from Ada is OK: I can get the number of items and the
pointer as an "access all Item", but how do I access the individual
items?
Thank you, in advance, for any help/info,
Michael.
next reply other threads:[~1996-08-26 0:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-08-26 0:00 Michael K Rohan [this message]
1996-08-27 0:00 ` Ada/C [GNAT]: Accessing C arrays from Ada David C. Hoos, Sr.
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox