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:
@ -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);
|
||||
|
Reference in New Issue
Block a user