summaryrefslogtreecommitdiff
path: root/desktop/js.h
blob: b70845f1677e7f082bdcdbb20a17b2e1da396608 (plain)
1
2
3
4
5
6
7
8
9
10
11

typedef struct jscontext jscontext;
typedef struct jsobject jsobject;

void js_initialise(void);
void js_finalise(void);

jscontext *js_newcontext(void);
void js_destroycontext(jscontext *ctx);

jsobject *js_newcompartment(jscontext *ctx);