Thanks Simon.
________________________________ From: sqlite-users <sqlite-users-boun...@mailinglists.sqlite.org> on behalf of Simon Slavin <slav...@bigfraud.org> Sent: Saturday, May 4, 2019 1:23:44 PM To: SQLite mailing list Subject: Re: [sqlite] Where are the likes of sqlite3_db and sqlite3_stmt defined? On 4 May 2019, at 11:16am, x <tam118...@hotmail.com> wrote: > I can’t find any definition of them in the amalgamation code nor see any > #included files that are likely to contain them. They're not defined in the way you'd expect. The lines quoted in the documentation are intended to give you the structure definition, but that's not how SQLite does what it does. See <https://www.sqlite.org/src/artifact/3ba14553508d66f5> " ** The "sqlite3_stmt" structure pointer that is returned by sqlite3_prepare() ** is really a pointer to an instance of this structure. " <https://www.sqlite.org/src/artifact/78027c6231fbb19c> " ** This file contains the implementation of the sqlite3_prepare() ** interface, and routines that contribute to loading the database schema ** from disk. " For a list of all source files, <https://www.sqlite.org/src/dir?ci=tip> Source for the library is in /src . _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users