guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SCM_CALL_N


From: Rob Browning
Subject: Re: SCM_CALL_N
Date: 26 Jun 2001 12:36:04 -0500
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

"Lars J. Aas" <address@hidden> writes:

> Try making your own wrapper around printf() and see.  You can't -
> you can only pretend you wrap printf() but actually forward the
> invokation to vprintf().  That's probably why the vprintf() family
> is there - so you can make your own variants that wrap the real
> printf-implementation.  It's a moot point since it's only a problem
> if you need to make wrapper functions, and you may not want to
> invest any extra effort in libguile to support that.

Actually this is a good point.  The problem is that there's no
portable (AFAIK) implementation of anything like "apply" for C given a
varargs list.  You can't build an argument list and then call a normal
varargs C function using that list.

-- 
Rob Browning <address@hidden> PGP=E80E0D04F521A094 532B97F5D64E3930



reply via email to

[Prev in Thread] Current Thread [Next in Thread]