Gregory Moore wrote:
> void *_database;
>
> int openCode = sqlite3_open(databasePathC, (sqlite3**)&_database);
>
> is there some advantage to declaring the database variable as a void
> pointer and casting it as sqlite3 verses just declaring it as sqlite3?

Not really.  A plain void pointer does not require <sqlite3.h>, but then
you cannot do much with it, except copying it around.


Regards,
Clemens
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to