blob: 6911dbd07eb1c23d0a5aeee34460ba9e1b1a7b9e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/*
** Compile this program against an SQLite library of unknown version
** and then run this program, and it will print out the SQLite version
** information.
*/
#include <stdio.h>
extern const char *sqlite3_libversion(void);
extern const char *sqlite3_sourceid(void);
int main(int argc, char **argv){
printf("SQLite version %s\n", sqlite3_libversion());
printf("SQLite source %s\n", sqlite3_sourceid());
return 0;
}
|