Send prints to the browser console. Obvious in retrospect.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3840 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
@ -33,6 +33,7 @@ typedef enum _tf_task_message_t {
|
||||
kLoadFile,
|
||||
kTaskError,
|
||||
kTaskTrace,
|
||||
kPrint,
|
||||
} tf_task_message_t;
|
||||
|
||||
tf_task_t* tf_task_create();
|
||||
@ -56,6 +57,7 @@ tf_task_t* tf_task_get(JSContext* context);
|
||||
tf_trace_t* tf_task_get_trace(tf_task_t* task);
|
||||
tf_ssb_t* tf_task_get_ssb(tf_task_t* task);
|
||||
const char* tf_task_get_name(tf_task_t* task);
|
||||
void tf_task_print(tf_task_t* task, int argc, JSValueConst* argv);
|
||||
|
||||
JSValue tf_task_allocate_promise(tf_task_t* task, promiseid_t* out_promise);
|
||||
void tf_task_reject_promise(tf_task_t* task, promiseid_t promise, JSValue error);
|
||||
|
Reference in New Issue
Block a user