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. -- Giovanni Bajo _______________________________________________ PyKDE mailing list PyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde