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=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ebb3574ca8067275 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1994-10-30 19:06:16 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!swiss.ans.net!cmcl2!thecourier.cims.nyu.edu!thecourier.cims.nyu.edu!nobody From: dewar@cs.nyu.edu (Robert Dewar) Newsgroups: comp.lang.ada Subject: Re: Access type representations. Date: 30 Oct 1994 11:02:46 -0500 Organization: Courant Institute of Mathematical Sciences Message-ID: <390g36$f3i@gnat.cs.nyu.edu> References: <9410281131.AA15384@eurocontrol.de> NNTP-Posting-Host: gnat.cs.nyu.edu Date: 1994-10-30T11:02:46-05:00 List-Id: Note also that in Ada 9X, for a function that is pragma Interfaced C, parameters of type Char_Array are required to be passed by passing the address of the first element. Note that GNAT does not yet do this correctly (it's on the list!), and in fact our plan is that for any function that has convention C, we will pass unconstrained arrays by simply passing the address of the first element. It is of course possible to use pragma Interface (Ada, .. and still write the body in C, and then the C function must know exactly how Ada passes unconstrained parameters.