On Sun, 17 Sep 2006 12:51:15 +0200, Andreas Rottmann wrote:
> John Steele Scott <[EMAIL PROTECTED]> writes:
>> By the way, what is the second argument to enum-*-val->sym for? I first
>> assumed that it was for decoding bitset enums, but after some basic
>> experimentation, this doesn't seem to be the case.
>>
> If there are more than one enum identifier with the same values, a
> list of symbols is returned; e.g.:
> 
> enum { FOO = 1, BAR = 2, BAZ = 1};
> 
> would cause '(foo baz) to be returned for the value 2.

I'm sure you meant to write "the value 1".

Thanks for your answer, that use case had not occurred to me.

cheers,

John



_______________________________________________
g-wrap-dev mailing list
g-wrap-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/g-wrap-dev

Reply via email to