guile-user
[Top][All Lists]
Advanced

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

Re: gwrap: including header files in generated code


From: Ludovic Courtès
Subject: Re: gwrap: including header files in generated code
Date: Fri, 01 Sep 2006 17:30:42 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

Hi,

John Steele Scott <address@hidden> writes:

> How do I tell g-wrap to put "#include <string.h>\n" in the output? There
> are some places in the output source where it looks like it is doing
> something similar, but I couldn't figure it out.

Like this:

  (define-method (global-declarations-cg (ws <my-wrapset>))
    (list (next-method)
          "#include <string.h>\n"))

But maybe you should direct G-Wrap-related questions to `g-wrap-dev'.

Thanks,
Ludovic.




reply via email to

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