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=2.9 required=5.0 tests=BAYES_50,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a4ce2c0817cfc70b,start X-Google-Attributes: gid103376,public From: lees@cts.com (Lee Slaughter) Subject: C to Ada interfacing Date: 1996/07/30 Message-ID: <4tm4mg$cjp@optional.cts.com>#1/1 X-Deja-AN: 171146492 organization: CTS Network Services (CTSNET), San Diego, CA reply-to: lees@nosc.mil newsgroups: comp.lang.ada Date: 1996-07-30T00:00:00+00:00 List-Id: Hi, I'm not an Ada programmer but need to interface with Ada routines from C (on a VxWorks platform). I have searched here, FAQ and the Tartanworks Ada docs and found a little, but I could use more. I'd appreciate it, especially sample code. In my probably naive view i'd make a call to someAdaFn( arg ) and my Ada-programmer peer would define this function in some .ada or whatever source file who's object file would be linked in with the C .o stuff, and of course have to take special care to be sure data types align, are in the right order with right number of gaps and all. Is that sort of sketchily it? Thanks... lee --- Lee Slaughter - network management development: submarine stuff Navy R & D, Point Loma, San Diego, CA lees@nosc.mil "Giving credence to his ramblings indicates a cognitive disorder..." - Lee's psychiatrist, circa 1952