[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Re: [PATCH 3/3] Introduce QNumber data type
From: |
François Revol |
Subject: |
Re: [Qemu-devel] Re: [PATCH 3/3] Introduce QNumber data type |
Date: |
Thu, 06 Aug 2009 16:05:37 +0200 CEST |
> On 08/06/2009 04:52 PM, Luiz Capitulino wrote:
> > +
> > +typedef struct QNumber {
> > + QObject base;
> > + union {
> > + int n_int;
> > + int64_t n_int64;
> > + } number;
> > +} QNumber;
> >
>
> Why not have an int64_t exclusively?
>
> Also, we need floating point support. So probably need to split this
> into QInt and QFloat.
Aw you sure all this won't clash with some Qt class if some fold tries
to mix both?
Now, I use the BeAPI so I don't really care, but still.
And I still wonder why not just use a real OO language instead of
faking.
François.