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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,90a95baabf37be00 X-Google-Attributes: gid103376,public From: dale@cs.rmit.edu.au (Dale Stanbrough) Subject: Re: LRM on passing data *from* C Date: 1999/05/22 Message-ID: #1/1 X-Deja-AN: 480697066 References: <7i4d5n$aaf$1@nnrp1.deja.com> X-Complaints-To: abuse@cs.rmit.edu.au X-Trace: emu.cs.rmit.edu.au 927326611 24196 131.170.66.220 (21 May 1999 22:43:31 GMT) Organization: RMIT NNTP-Posting-Date: 21 May 1999 22:43:31 GMT Newsgroups: comp.lang.ada Date: 1999-05-21T22:43:31+00:00 List-Id: dennison@telepath.com wrote: " All of the implementation advice in LRM B.3 (63-75) refers to how data is passed *to* C. I'm curious if this advice was also meant to apply to how data is passed *from* C when a C function calls an Ada subprogram. I'm in a situation where the a compiler may not have followed the advice. But we are calling Ada from C, so technicly the advice is not applicable..." The Ada language can't say anything about how C compilers should operate. For this you have to look to the C language standard. For your particular application you'll have to examine the C calling sequence for your particular compiler, and fiddle about with the Ada code to make it match. Dale