[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-perl
Subject:    Re: [Kde-perl] sizeof(enum)
From:       Ashley Winters <qaqortog () nwlink ! com>
Date:       2002-05-27 21:42:37
[Download RAW message or body]

On Monday 27 May 2002 12:11 pm, Ashley Winters wrote:
> It looks like I'm going to be passing around enums using pointers rather
> than coercing them to long. First, because sizeof(enum X) is not always ==
> sizeof(enum Y), and secondly because it will help my slot implementation.
> This will make type handling alot uglier, since I have to have a handler
> for each and every enum. :(

I reconsidered that plan. Very bad idea. Instead, I decided to make kalyptus 
write out code in each class which can convert the data in a QClass::Enum* 
to/from a long. Time to recompile!

Ashley Winters

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic