comp.lang.ada
 help / color / mirror / Atom feed
From: "Jes�s M. Mil�n-Franco" <milanjm@inta.es>
Subject: Help interfacing C
Date: 2000/07/25
Date: 2000-07-25T09:16:34+00:00	[thread overview]
Message-ID: <8ljlti$7u0$1@polaris.inta.es> (raw)

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 ??

----
Jesús M. Milán-Franco (milanjm@sip.ucm.es)
Dpto. Sistemas Informáticos y Programación
Facultad de Informática (U. C. M.)
Ciudad Universitaria s/n - 28040 Madrid (Spain)
phone: (+34) 91 394 43 50 / fax: (+34) 91 394 46 02






             reply	other threads:[~2000-07-25  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-25  0:00 Jes�s M. Mil�n-Franco [this message]
2000-07-25  0:00 ` Help interfacing C Keith Thompson
2000-07-26  0:00 ` Ken Garlington
2000-07-26  0:00 ` tmoran
2000-07-26  0:00   ` Keith Thompson
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox