[Swig-user] enum constants vs. functions returning an enum value

Chris Shoemaker c.shoemaker at cox.net
Wed Oct 18 23:59:59 EDT 2006


On Sat, Aug 19, 2006 at 06:57:00PM -0500, John Lenz wrote:
<snip>
> 
> Ok, I just committed it to CVS.  I added the feature as "constasvar",
> and it works on all constants (including enums).  You can apply it
> globally by adding
> 
> %feature("constasvar", "1");
> 
> or by using -features constasvar on the command line, or applying the
> feature to individual constants or enums (see the docs on how to do
> that... in CVS, I updated Guile.html with a paragraph about constasvar)
<snip>
> So,
> it would be nice if you tested out the constasvar feature before we make
> a release.
> 

Hi John,
        I've tested this feature in the version from CVS.  It works
just as I expected.  Thanks.

-chris


More information about the gnucash-devel mailing list