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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,65234f982d381bb8,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-09-10 18:21:47 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: lin@post.com (Lin) Newsgroups: comp.lang.ada Subject: Passing an Ada array to a C function Date: 10 Sep 2001 18:21:47 -0700 Organization: http://groups.google.com/ Message-ID: <86772402.0109101721.26fc679a@posting.google.com> NNTP-Posting-Host: 144.32.177.108 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1000171307 22772 127.0.0.1 (11 Sep 2001 01:21:47 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 11 Sep 2001 01:21:47 GMT Xref: archiver1.google.com comp.lang.ada:13023 Date: 2001-09-11T01:21:47+00:00 List-Id: If an Ada array holds the pointers pointing to a String (char_array), how can I pass the Ada array to an C funtion with an array as formal parameter? Is the "char_array" of Ada occupies the same bytes as the "char" of C? Many thnks.