On Tuesday 21 March 2006 5:14 pm, Giovanni Bajo wrote: > Phil Thompson <[EMAIL PROTECTED]> wrote: > >> what is the correct way of handling size_t? It's not a builtin type that > >> SIP understands, and any typedef machinery is going to be wrong > >> (portability-wise). > > > > You have to make the typedef dependent on the %Platform. > > Wouldn't be better if SIP did this automatically? A proper definition of > size_t across 32/64 bit systems (including Win64 vs Linux ABI differences) > is somehow problematic. Compilers do supply "size_t" specifically so that > people don't have to worry doing the ifdef-ery.
The standard library defines size_t, not the compiler. SIP just knows what's in the language definition, not the library. Phil _______________________________________________ PyKDE mailing list PyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde