From: "Ken Garlington" <Ken.Garlington@computer.org>
Subject: Re: Help interfacing C
Date: 2000/07/26
Date: 2000-07-26T00:00:00+00:00 [thread overview]
Message-ID: <qmrf5.2195$ck.212047@news.flash.net> (raw)
In-Reply-To: 8ljlti$7u0$1@polaris.inta.es
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 694 bytes --]
"Jes�s M. Mil�n-Franco" <milanjm@inta.es> 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?
prev parent reply other threads:[~2000-07-26 0:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-07-25 0:00 Help interfacing C Jes�s M. Mil�n-Franco
2000-07-25 0:00 ` Keith Thompson
2000-07-26 0:00 ` tmoran
2000-07-26 0:00 ` Keith Thompson
2000-07-26 0:00 ` Ken Garlington [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox