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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,7661856b1d8dc0ab X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!uns-out.usenetserver.com!news.usenetserver.com!pc03.usenetserver.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail Newsgroups: comp.lang.ada Subject: Re: Calling Ada from C References: <1172159208.098190.143360@t69g2000cwt.googlegroups.com> From: Stephen Leake Date: Fri, 23 Feb 2007 08:53:31 -0500 Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:ABFVVQRkG50OQmaogU1R17Cq400= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: 8d93745def1dc759e00d431180 Xref: g2news2.google.com comp.lang.ada:9459 Date: 2007-02-23T08:53:31-05:00 List-Id: "hannibal.holm@gmail.com" writes: > I have a slight problem trying to call an Ada function from a C > function. I need to pass in an unconstrained array to the Ada > function. The problem is how I specify the size. Since the concept "unconstrained array" doesn't exist in C, this can't possibly be a precise description of what you are doing. Can you give more context, and an example of the code? Especially the C declarations of the data structure you are passing to Ada. -- -- Stephe