comp.lang.ada
 help / color / mirror / Atom feed
From: chris <spamoff.danx@ntlworld.com>
Subject: Re: Binding to C
Date: Tue, 22 Jul 2003 19:12:21 +0200
Date: 2003-07-22T19:12:21+02:00	[thread overview]
Message-ID: <f3fTa.342$xe6.5412@newsfep4-glfd.server.ntli.net> (raw)
In-Reply-To: <13934627.ulbWRIerNL@linux1.krischik.com>

Martin Krischik wrote:
> chris wrote:
> 
> 
>>Hi,
>>
>>I came across the following in libjpeg... what should I map it to?
>>
>>const char* const* jpeg_message_table
> 
> 
> const works to the left unless it comes first. So:
> 
> (const char) (* const)* jpeg_message_table

Yuck!  I thought it was

(const char *) (const *) jpeg_message_table;

which is (iirc)

type jpeg_message_table is access constant CStrings.chars_ptr;


I hate C!






  reply	other threads:[~2003-07-22 17:12 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 [this message]
2003-07-23 13:47     ` Martin Krischik
2003-07-27 13:11     ` Matthew Heaney
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