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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,65234f982d381bb8 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-09-18 06:39:00 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!fr.usenet-edu.net!usenet-edu.net!jussieu.fr!enst!enst.fr!not-for-mail From: Thierry Bernier Newsgroups: comp.lang.ada Subject: Re: Passing an Ada array to a C function Date: Tue, 18 Sep 2001 15:37:11 +0200 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: References: <86772402.0109101721.26fc679a@posting.google.com> Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: avanie.enst.fr 1000820339 14327 137.194.161.2 (18 Sep 2001 13:38:59 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Tue, 18 Sep 2001 13:38:59 +0000 (UTC) To: comp.lang.ada@ada.eu.org Return-Path: X-Mailer: Mozilla 4.75 [fr]C-CCK-MCD (WinNT; U) X-Accept-Language: fr-FR Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.4 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , List-Archive: Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:13152 Date: 2001-09-18T15:37:11+02:00 David Botton a =E9crit : > 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