home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!corton!dmi.ens.fr!rhea!vincens
- From: vincens@ens.fr (Pierre VINCENS)
- Newsgroups: comp.lang.ada
- Subject: Re: Alsys compiler question
- Message-ID: <1992Aug28.072536.8318@ens.fr>
- Date: 28 Aug 92 07:25:36 GMT
- References: <6903@stan.xx.swin.oz.au>
- Sender: news@ens.fr (USENET News System)
- Reply-To: vincens@ens.fr
- Organization: Groupe de BioInformatique de l'Ecole Normale Superieure, Paris, France
- Lines: 18
- Nntp-Posting-Host: rhea.ens.fr
-
- Hello,
-
- I use Alsys compiler on Sun Workstation. The pragma EXPORT allows an
- OBJECT defined in ada to be visible to external programs written in
- the specified language. The pragma CALL_IN is used to indicate that an ada
- SUBPROGRAM can be called from another language.
-
- Replace the line:
- pragma EXPORT (C, HI_THERE);
- by
- pragma CALL_IN (C, HI_THERE);
-
- Best regards,
-
- Pierre Vincens
-
- E-mail: vincens@wotan.ens.fr
- vincens@FRULM63.bitnet
-