chicken-users
[Top][All Lists]
Advanced

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

[Chicken-users] passing variable number of floats to C


From: Heinrich Taube
Subject: [Chicken-users] passing variable number of floats to C
Date: Tue, 19 Feb 2008 07:00:37 -0600

Hi if i have a scheme function that accepts a variable number of float arguments what is the best way to pass the floats to C?
ie:

(define (pass-floats . floats)
  (let ((len (length floats)))
    (my_c_function len (list->*float floats))
  ))

how do i get the behavior of list->*float ?
thanks for any tips!

best rick




reply via email to

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