Re: C mapping of enums...



On Tue, 6 Feb 2001, Mark McLoughlin wrote:

> Hi all,
> 	ORBit doesn't generate the correct code for enums.
>
> 	I know it wasn't an oversight because of the comment in
> orbit-idl-c-headers.c - but a spec is a spec, and there doesn't
> seem to be a valid reason for not going by the spec ?

It is the same from the application's point of view, and it's cleaner
(it's actually an enum), and it's easier to debug (e.g. gdb knows how to
print the symbolic enum values out).

I do not practice blind adherence to specifications,
-- Elliot
Who me? I just wander from room to room.





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