chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] More on Unions and Structs.


From: felix winkelmann
Subject: Re: [Chicken-users] More on Unions and Structs.
Date: Mon, 31 Oct 2005 07:59:48 +0100

On 10/31/05, Pupeno <address@hidden> wrote:
> I started to make the FFI using the magick #>? hopping that I would get
> farther, were, that didn't happen.
> My first problem: Something as simple as what is described on the
> documentation:
> #>?
> struct XAnyEvent {
>         int type;
> };
> <#

"#>?" just parses the code and generates FFI wrappers.
"#>!" parses and includes the code, which is required (the C code
still refers to "struct XAnyEvent ", and with the former syntax,
is not declared in the generated C code).


cheers,
felix




reply via email to

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