On 12-Jan-08, at 6:18 PM, Esteban U. Caamano Castro wrote:
But then in one of the examples:
(define stdin ((c-lambda () (pointer "FILE") "___result = stdin;")))
Shouldn't that be "___result_voidstar = (void*)stdin;", then?
Thanks! I have fixed it. Note that the cast to void* is not necessary because in C (and C++) pointers of any type can be assigned to the void* type:
(define stdin ((c-lambda () (pointer "FILE") "___result_voidstar = stdin;")))
Marc