comp.lang.ada
 help / color / mirror / Atom feed
From: Thierry Bernier <thierry.bernier@fr.thalesgroup.com>
To: comp.lang.ada@ada.eu.org
Subject: Re: Passing an Ada array to a C function
Date: Tue, 18 Sep 2001 15:37:11 +0200
Date: 2001-09-18T15:37:11+02:00	[thread overview]
Message-ID: <mailman.1000820294.15387.comp.lang.ada@ada.eu.org> (raw)
In-Reply-To: mailman.1000175530.9345.comp.lang.ada@ada.eu.org

David Botton a écrit :

> procedure My_C_Func (S : Interfaces.C.char_array);
> pragma Import (C, My_C_Func);
>
> is equal to
>
> void My_C_Func (char* s);

void My_C_Func (const char *s);


--
Thierry Bernier





  reply	other threads:[~2001-09-18 13:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-11  1:21 Passing an Ada array to a C function Lin
2001-09-11  2:32 ` David Botton
2001-09-18 13:37   ` Thierry Bernier [this message]
     [not found]   ` <3BA74E07.60E105C2@fr.thalesgroup.com>
2001-09-20  2:31     ` David Botton
2001-09-20 12:07       ` Robert Dewar
replies disabled

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