Re: AW: [sqlite] Version 3.1.0

2005-01-21 Thread Tom
Hello,
wchar_t is not a 2 byte unicode character.
For example, in Mac OS X, wchar_t is 4 bytes.
It would be better to define UniChar as 2 byte type. In OS X it is 
defined as:

typedef UInt16 UniChar;
where UInt16 is defined (on most, if not all platforms) as:
typedef unsigned short UInt16;
Tom
Clean Hands
http://www.cleanhands.biz
On Jan 21, 2005, at 2:08 PM, Michael Ruck wrote:
You could replace the const void* with wchar_t on conforming compilers 
(such
as MCVC 6+) to simplify unicode development:

#if defined(wchar_t)
typedef const wchar_t* strw;
#else // #if defined(wchar_t)
typedef const void* strw;
#endif // #if defined(wchar_t)
I think this would allow easier usage of all sqlite...16() functions.
- Michael
-Ursprüngliche Nachricht-
Von: D. Richard Hipp [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 21. Januar 2005 19:34
An: sqlite-users@sqlite.org
Betreff: [sqlite] Version 3.1.0
Version 3.1.0 (alpha) of SQLite is now available on the website.
Release notes are available from a link on the homepage.
This released is labeled "alpha" but it is still very well tested.  By 
being
"alpha" it means that there is still a small window of opportunity 
during
when users can suggest API changes.  Once we go to beta (in about a 
week) no
more changes will be accepted.  So if you want to suggest changes, 
please do
so quickly.

--
D. Richard Hipp <[EMAIL PROTECTED]>




AW: [sqlite] Version 3.1.0

2005-01-21 Thread Michael Ruck
You could replace the const void* with wchar_t on conforming compilers (such
as MCVC 6+) to simplify unicode development:

#if defined(wchar_t)
typedef const wchar_t* strw;
#else // #if defined(wchar_t)
typedef const void* strw;
#endif // #if defined(wchar_t)

I think this would allow easier usage of all sqlite...16() functions.

- Michael

-Ursprüngliche Nachricht-
Von: D. Richard Hipp [mailto:[EMAIL PROTECTED] 
Gesendet: Freitag, 21. Januar 2005 19:34
An: sqlite-users@sqlite.org
Betreff: [sqlite] Version 3.1.0

Version 3.1.0 (alpha) of SQLite is now available on the website.
Release notes are available from a link on the homepage.

This released is labeled "alpha" but it is still very well tested.  By being
"alpha" it means that there is still a small window of opportunity during
when users can suggest API changes.  Once we go to beta (in about a week) no
more changes will be accepted.  So if you want to suggest changes, please do
so quickly.

--
D. Richard Hipp <[EMAIL PROTECTED]>