Fixed apps not working most of the time. Ultimately, storing a pointer to the database using JS_NewInt64 was lossy and a bad idea. Also, remove use of JNI since we're only starting tildefriends as its own process now.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4215 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2023-03-11 13:57:17 +00:00
parent 2a3b1a1e33
commit 10bfa65a4e
9 changed files with 19 additions and 98 deletions

View File

@@ -2,6 +2,4 @@
#include "quickjs.h"
typedef struct sqlite3 sqlite3;
void tf_database_register(JSContext* context, sqlite3* sqlite);
void tf_database_register(JSContext* context);