From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,e940dc253695e939,start X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!news.motzarella.org!motzarella.org!not-for-mail From: =?ISO-8859-1?Q?S=E9bastien?= Newsgroups: comp.lang.ada Subject: Pointer Date: Mon, 19 May 2008 09:38:08 +0000 Organization: A noiseless patient Spider Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: feeder.motzarella.org U2FsdGVkX18EdeROINOl75U5jszfzZPfg7BDFaQlso+RXM67Wrt5M2WlTFOm5nLFrNLoVkbPNoUfiWj0unKW7c/8g+0wnS+QHrrlo1a2ZVgKzuYbwAL1h/itwCmN88l/inqcmT9WXkc/tnPWdPpV3g== X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers NNTP-Posting-Date: Mon, 19 May 2008 09:36:14 +0000 (UTC) X-Auth-Sender: U2FsdGVkX1/LVC0vqXy3EpHrnPwqmmw0Mhlol3uHIRAl75NLPeK6aA== Cancel-Lock: sha1:kW9mnfF1dzslQT7K7jJusfiHjqc= User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) Xref: g2news1.google.com comp.lang.ada:228 Date: 2008-05-19T09:38:08+00:00 List-Id: 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