sqlite: Add gen-sqlite3-namespace.sh script for upgrades
This commit is contained in:
@@ -36,10 +36,10 @@
|
||||
* to avoid symbol conflicts when both libheimsqlite and libsqlite3 are
|
||||
* loaded in the same process.
|
||||
*
|
||||
* This file is auto-generated. To regenerate:
|
||||
* grep '^SQLITE_API' lib/sqlite/sqlite3.c | grep -oE 'sqlite3[a-zA-Z0-9_]*' | sort -u > /tmp/funcs.txt
|
||||
* grep -E '^typedef' lib/sqlite/sqlite3.h | grep -oE 'sqlite3[a-zA-Z0-9_]*' | sort -u > /tmp/types.txt
|
||||
* cat /tmp/funcs.txt /tmp/types.txt | sort -u | while read sym; do echo "#define $sym heim_$sym"; done
|
||||
* This file is auto-generated by gen-sqlite3-namespace.sh
|
||||
* Regenerate after importing a new SQLite version:
|
||||
*
|
||||
* cd lib/sqlite && ./gen-sqlite3-namespace.sh
|
||||
*/
|
||||
|
||||
#ifndef SQLITE3_NAMESPACE_H
|
||||
|
||||
Reference in New Issue
Block a user