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.1 required=5.0 tests=BAYES_20,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!hpda!hpcuhc!hpcupt3!jws From: jws@hpcupt3.cup.hp.com (John Stafford) Newsgroups: comp.lang.ada Subject: Re: Calling an Ada subprogram from a C function Message-ID: <46820005@hpcupt3.cup.hp.com> Date: 22 Apr 91 18:22:50 GMT References: <1991Apr18.232509.13639@mprgate.mpr.ca> Organization: Hewlett Packard, Cupertino List-Id: As far as I know it isn't hidden away in the manual anywhere. In general, I believe, non-Ada calling Ada is not supported by Alsys Ada. Having said that, I believe, but am not sure, that Alsys may have an "application note" on how you can achieve non-Ada to Ada calls in limited contexts. Additionally, HP/Ada on the 9000/[34]00 series, which is produced under license from Alsys, does support pragma EXPORT on subprograms, making them directly (and indirectly) callable from non-Ada code (IN parameters only, exceptions must not propagate to the non-Ada caller, and several other restrictions apply). -- John Stafford -- Hewlett Packard California Language Lab Internet: jws@cup.hp.com UUCP: hplabs!hpda!jws