On Tue, Jul 8, 2008 at 1:46 PM, William Xu <[EMAIL PROTECTED]> wrote:
>
> Also, the first example at http://chicken.wiki.br/easyffi#usage seems
> not very good:
>
>  1) Both math.h and csi have defined "sin" function, one can't verify
>     that he'd call "sin" from which.
>
>  2) It defined "#define my_pi 3.14" first, but the call "(print (sin 3.14))"
>     doesn't use my_pi at all.  So i doubt the following clam that it'll
>     generated this equivalent code:
>
>       (define-foreign-variable my_pi float "my_pi")

Thanks, William. I'll fix the examples.


cheers,
felix


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to