1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-12-20 23:30:05 +02:00
Files
joplin/ReactNativeClient/lib/sql-extensions/sqlite/tool/libvers.c
Laurent Cozic 3179e26b0e CLI v1.0.168
2020-09-14 09:48:52 +01:00

16 lines
426 B
C

/*
** 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;
}