On 03-Apr-2008, at 11:22 PM, Matthew L. Creech wrote:
> We need to either rename it so
> that it's part of the library's exported API, or do something
> different in tclsqlite.c.

I would really like to have a few of sqlite3's internal functions  
available to client applications in a straightforward manner.  
sqlite3StrICmp is the top one on my list, though I could see  
sqlite3StrNICmp and sqlite3IsNumber being useful as well.

When comparing column names in my code, for instance, it makes a lot  
of sense to be able to use the same code for comparison that sqlite3  
uses. Sure, it's probably the same as stricmp/strcasecmp, but will it  
always be so? Probably, but it'd be more future-proof just to use the  
same code.

I include sqliteInt.h in a small c file just sqlite3StrICmp, in fact.  
It would be nice not to have to do this.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to