comp.lang.ada
 help / color / mirror / Atom feed
From: "Matthew Heaney" <matthewjheaney@earthlink.net>
Subject: Re: Binding to C
Date: Sun, 27 Jul 2003 13:11:56 GMT
Date: 2003-07-27T13:11:56+00:00	[thread overview]
Message-ID: <wcQUa.624$mr1.404@newsread3.news.pas.earthlink.net> (raw)
In-Reply-To: f3fTa.342$xe6.5412@newsfep4-glfd.server.ntli.net


"chris" <spamoff.danx@ntlworld.com> wrote in message
news:f3fTa.342$xe6.5412@newsfep4-glfd.server.ntli.net...
> Martin Krischik wrote:
>
> type jpeg_message_table is access constant CStrings.chars_ptr;

Not quite:

type string_array is array (Natural) of aliased CStrings.chars_ptr;
pragma Convention (C, string_array);

type Table_Type is access constant string_array;
pragma Convention (C, Table_Type);
for Table_Type'Storage_Size use 0;

JPEG_Message_Table : Table_Type;






  parent reply	other threads:[~2003-07-27 13:11 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-21 18:59 Binding to C chris
2003-07-21 20:02 ` Martin Krischik
2003-07-22 17:12   ` chris
2003-07-23 13:47     ` Martin Krischik
2003-07-27 13:11     ` Matthew Heaney [this message]
2003-07-27 13:07   ` Matthew Heaney
2003-07-21 21:07 ` tmoran
2003-07-21 21:57   ` chris
2003-07-27 13:04 ` Matthew Heaney
2003-07-28 20:52 ` Freejack
2003-07-29 19:21   ` chris
2003-08-09 11:29 ` Patrice Freydiere
2003-08-09 13:09   ` Jeffrey Creem
2003-08-09 13:54     ` Patrice Freydiere
2003-08-11 23:49   ` chris
2003-08-12  6:40     ` Patrice Freydiere
2003-08-12 11:58       ` chris
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox