Replace all printfs with tf_printf, which redirects to android logging. Change into the files directory so that sqlite can do its thing. Getting closer.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4203 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2023-03-07 17:50:17 +00:00
parent 1c10768aa4
commit 61ff466908
16 changed files with 240 additions and 186 deletions

View File

@ -1,5 +1,6 @@
#include "database.js.h"
#include "log.h"
#include "mem.h"
#include <assert.h>
@ -40,7 +41,7 @@ void tf_database_register(JSContext* context, sqlite3* sqlite)
};
if (JS_NewClass(JS_GetRuntime(context), _database_class_id, &def) != 0)
{
printf("Failed to register database.\n");
tf_printf("Failed to register database.\n");
}
JSValue global = JS_GetGlobalObject(context);