g-wrap-dev
[Top][All Lists]
Advanced

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

Re: Using WCTs as `out' parameters


From: Ludovic Courtès
Subject: Re: Using WCTs as `out' parameters
Date: Thu, 24 Mar 2005 11:24:03 +0100
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux)

Hi again,

address@hidden (Ludovic Courtès) writes:

> I'm wondering: why can't one use a WCT as an out parameter?  This is
> forbidden in `c-types.scm' by the `check-typespec-options' method for
> `<gw-wct>' objects.

I did what I should have done from the beginning: I redefined the
suspicious method so that it doesn't complain, and it works fine.

  (define-method (check-typespec-options (type <gw-wct>)
                                         (options <list>))
    #t)

Does someone know what the rationale was for the "spurious options"
message?

Thanks,
Ludovic.




reply via email to

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