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.0 required=5.0 tests=BAYES_00,FROM_WORDY, INVALID_MSGID,PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,40e33eaeae684c37 X-Google-Attributes: gid103376,public From: "Ken Garlington" Subject: Re: Help interfacing C Date: 2000/07/26 Message-ID: #1/1 X-Deja-AN: 650791602 References: <8ljlti$7u0$1@polaris.inta.es> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Complaints-To: abuse@flash.net X-Trace: news.flash.net 964575766 216.215.84.187 (Tue, 25 Jul 2000 20:42:46 CDT) Organization: FlashNet Communications, http://www.flash.net X-MSMail-Priority: Normal NNTP-Posting-Date: Tue, 25 Jul 2000 20:42:46 CDT Newsgroups: comp.lang.ada Date: 2000-07-26T00:00:00+00:00 List-Id: "Jes�s M. Mil�n-Franco" wrote in message news:8ljlti$7u0$1@polaris.inta.es... > Hi all. > > I have to do an Ada interface to a C library and I have found the following function declaration: > > int zzz_VaSend (zzz_mbox_cap mbox_c, int send_type, > int flag, int len, char *buf , char *va_list, ...); > > Where va_list is a list with the receiver names finished by 'null', so the function has a variable number of parameters (the last is always null) > > Does anybody know if it is possible to have something similar in Ada ?? It's certainly possible to pass a list of items in Ada - what method do you use to get the elements of va_list?