Dan McMahill <[EMAIL PROTECTED]> writes:
> I'm trying to provide scheme access to a C function which has the same
> interface a printf(). What I'd like to do in scheme is something like
But, doesn't SLIB already have this?
(info "(slib) Standard Formatted Output")
--
William
___
On Tue, Apr 25, 2006 at 08:44:55AM -0400, Dan McMahill wrote:
>
> Hello,
>
> I'm trying to provide scheme access to a C function which has the same
> interface a printf(). [...]
> SCM g_funcs_log(SCM s_num_list)
> {
> SCM s_element;
> int length;
> int i;
>
> /* Check that the input is
Hello,
I'm trying to provide scheme access to a C function which has the same
interface a printf(). What I'd like to do in scheme is something like
(gschem-log
"This is a %s message with %d args, pi is %g\n"
"log"
3
3.14
)
so I've gotten as far as a function which takes a variabl