Dennis Cote <[EMAIL PROTECTED]> wrote:
> 
> I wonder if it might not be better to change this API to accept an empty 
> string, in addition to a NULL pointer, to find the default VFS. It seems 
> to me this might make life easier for those writing wrappers in 
> languages that don't have a concept of a NULL pointer.
> 

I'll meet you half way.  I have changed the sqlite3_vfs_register()
documentation to make the behavior undefined if you try to
register a VFS with a name that an empty string.

This way, you can be certain that no valid VFS has an empty
string as its name.  And your wrapper can map empty string
into NULL.

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


-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to