Talk About Network

Google





Programming > Ada > Pointer
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 14 Topic 5709 of 6006
Post > Topic >>

Pointer

by =?ISO-8859-1?Q?S=E9bastien?= <seb.morand@[EMAIL PROTECTED] > May 19, 2008 at 09:38 AM

Hi,

I'm getting from a C interfaces a char**data in a System.Address. I have 
the following hypothesis:
- data is an array of n elements where n is known
- There is no memory issue (meaning data[i] with i < n is allocated)
- I do not have to free the memory (memory is managed by the C library)

How can I retrieve all my values in the C arrays using a loop to create 
some Ada String (Interfaces.C.Strings.Value)?

thanks by advance,
Sebastien
 




 14 Posts in Topic:
Pointer
=?ISO-8859-1?Q?S=E9bastie  2008-05-19 09:38:08 
Re: Pointer
"Dmitry A. Kazakov&q  2008-05-19 11:53:11 
Re: Pointer
"Dmitry A. Kazakov&q  2008-05-19 11:54:41 
Re: Pointer
=?ISO-8859-1?Q?S=E9bastie  2008-05-19 10:13:48 
Re: Pointer
"Dmitry A. Kazakov&q  2008-05-19 12:32:56 
Re: Pointer
Ludovic Brenta <ludovi  2008-05-19 03:34:19 
Re: Pointer
=?ISO-8859-1?Q?S=E9bastie  2008-05-19 11:31:57 
Re: Pointer
"Dmitry A. Kazakov&q  2008-05-19 14:09:57 
Re: Pointer
=?ISO-8859-1?Q?S=E9bastie  2008-05-19 12:47:35 
Re: Pointer
Ludovic Brenta <ludovi  2008-05-19 05:09:46 
Re: Pointer
Matthew Heaney <mheane  2008-05-19 09:22:55 
Re: Pointer
Matthew Heaney <mheane  2008-05-19 09:25:54 
Re: Pointer
Matthew Heaney <mheane  2008-05-19 09:17:55 
Re: Pointer
=?ISO-8859-1?Q?S=E9bastie  2008-05-19 17:23:13 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Wed Jan 7 13:41:43 PST 2009.