forked from cory/tildefriends
Make setTimeout callable from ssb.js by moving it into util.js.c.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3705 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
@ -12,8 +12,8 @@ typedef int taskid_t;
|
||||
typedef int promiseid_t;
|
||||
typedef int exportid_t;
|
||||
typedef struct _tf_taskstub_t tf_taskstub_t;
|
||||
|
||||
typedef struct _tf_task_t tf_task_t;
|
||||
typedef struct _tf_trace_t tf_trace_t;
|
||||
|
||||
static const taskid_t k_task_parent_id = 0;
|
||||
|
||||
@ -51,6 +51,7 @@ exportid_t tf_task_export_function(tf_task_t* task, tf_taskstub_t* to, JSValue f
|
||||
JSValue tf_task_add_import(tf_task_t* task, taskid_t stub_id, exportid_t export_id);
|
||||
uv_loop_t* tf_task_get_loop(tf_task_t* task);
|
||||
tf_task_t* tf_task_get(JSContext* context);
|
||||
tf_trace_t* tf_task_get_trace(tf_task_t* task);
|
||||
void tf_task_run_jobs(tf_task_t* task);
|
||||
const char* tf_task_get_name(tf_task_t* task);
|
||||
|
||||
|
Reference in New Issue
Block a user