Documentation of the parameters to the collation callback could be improved:

        (http://www.sqlite.org/c3ref/create_collation.html)

 (1) A function prototype for the callback with named parameters is not given, 
so one has to guess what the parameters are used for.
 (2) It’s also not specified what the int lengths represent: bytes, characters?
 (3) Nor is it specified what the function result is: <0, 0, >0? or -1, 0, 1?
 (4) Also, I assume that since lengths are given it should never be relied on 
that the data pointers are null-terminated… is that correct?

Thanks!

James
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to