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,XPRIO autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,782d14fd472db944,start X-Google-Attributes: gid103376,public From: "Hovers" Subject: Question about interfacing C and Ada95 Date: 1999/11/08 Message-ID: <806ud0$lu1$1@trog.dera.gov.uk>#1/1 X-Deja-AN: 545961721 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.5600 Organization: Defence Evaluation & Research Agency X-MSMail-Priority: Normal Newsgroups: comp.lang.ada Date: 1999-11-08T00:00:00+00:00 List-Id: if I have a c routine that returns more than one value what is thge best way to interface to Ada with it. e.g. int getX ( void **instance, int *float ); we have recoded the c to this as Ada funcs do not allow more than one return val; void getX ( void **instance, int *float, int *error ); How do I then write the Ada to interface to this in Ada 95. Cheers Paul Hussein.