Am Mittwoch 28 Juli 2010, um 08:22:24 schrieb Ludovic Rousseau: > Mac OS X uses uint32_t and normal C types like in: > > PCSC_API int32_t SCardConnect(SCARDCONTEXT hContext, > const char *szReader, > uint32_t dwShareMode, > uint32_t dwPreferredProtocols, > LPSCARDHANDLE phCard, uint32_t *pdwActiveProtocol); > > The PC/SC (and pcsc-lite) API uses DWORD and such Windows types > everywhere. I do not plan to change that but that would be also a very > good idea. Windows types are so unreadable (for me). > > PCSC_API LONG SCardConnect(SCARDCONTEXT hContext, > LPCSTR szReader, > DWORD dwShareMode, > DWORD dwPreferredProtocols, > LPSCARDHANDLE phCard, LPDWORD pdwActiveProtocol);
so I'm still not sure if you want to break abi or api. but if you do, the mac os X style above looks quite nice to me, so switching to those instead of the windows data types would be best (if you want to break abi). Regards, Andreas _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
