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,3826b2c39541bce X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: GNAT extern "C" Date: 1998/06/08 Message-ID: #1/1 X-Deja-AN: 360886118 References: <6lheb7$5gb$1@inet-prime.comshare.com> X-Complaints-To: usenet@news.nyu.edu X-Trace: news.nyu.edu 897360208 12715 (None) 128.122.140.58 Organization: New York University Newsgroups: comp.lang.ada Date: 1998-06-08T00:00:00+00:00 List-Id: Matthew says <> Yes, of course this is possible, why would you think it might not be. The question is equivalent to whether it is possible to write a C function in a shared library! pragma Export has exactly the effect of making an Ada routine equivalent to a C one in terms of naming, parameter passing mechanism etc.