Check if hb is NULL.
[elinks.git] / src / ecmascript / spidermonkey.h
bloba751b69e91a6c4d02aa9fb3c4a1aa9301b16f6b1
1 #ifndef EL__ECMASCRIPT_SPIDERMONKEY_H
2 #define EL__ECMASCRIPT_SPIDERMONKEY_H
4 struct ecmascript_interpreter;
5 struct form_view;
6 struct form_state;
7 struct string;
9 void *spidermonkey_get_interpreter(struct ecmascript_interpreter *interpreter);
10 void spidermonkey_put_interpreter(struct ecmascript_interpreter *interpreter);
12 void spidermonkey_detach_form_view(struct form_view *fv);
13 void spidermonkey_detach_form_state(struct form_state *fs);
14 void spidermonkey_moved_form_state(struct form_state *fs);
16 void spidermonkey_eval(struct ecmascript_interpreter *interpreter, struct string *code, struct string *ret);
17 unsigned char *spidermonkey_eval_stringback(struct ecmascript_interpreter *interpreter, struct string *code);
18 int spidermonkey_eval_boolback(struct ecmascript_interpreter *interpreter, struct string *code);
20 extern struct module spidermonkey_module;
21 #endif