Re: gwrap: including header files in generated code

2006-09-01 Thread John Steele Scott
On Fri, 01 Sep 2006 17:30:42 +0200, Ludovic Courtès wrote: > Like this: > > (define-method (global-declarations-cg (ws )) > (list (next-method) > "#include \n")) > > But maybe you should direct G-Wrap-related questions to `g-wrap-dev'. Thanks Ludovoic. I did not notice that ther

Re: gwrap: including header files in generated code

2006-09-01 Thread Ludovic Courtès
Hi, John Steele Scott <[EMAIL PROTECTED]> writes: > How do I tell g-wrap to put "#include \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 ))

gwrap: including header files in generated code

2006-09-01 Thread John Steele Scott
Hi, I am trying to figure out how to use g-wrap. So far I have hacked the examples from the documentation into the following minimal sample: (use-modules (oop goops)) (use-modules (g-wrap)) (use-modules (g-wrap guile)) (use-modules (g-wrap guile ws standard)) (define-class () #:id 'my-wrapset