mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
19 lines
642 B
C
19 lines
642 B
C
|
|
#ifndef EL__ECMASCRIPT_SPIDERMONKEY_H
|
|
#define EL__ECMASCRIPT_SPIDERMONKEY_H
|
|
|
|
struct ecmascript_interpreter;
|
|
struct string;
|
|
|
|
void spidermonkey_init();
|
|
void spidermonkey_done();
|
|
|
|
void *spidermonkey_get_interpreter(struct ecmascript_interpreter *interpreter);
|
|
void spidermonkey_put_interpreter(struct ecmascript_interpreter *interpreter);
|
|
|
|
void spidermonkey_eval(struct ecmascript_interpreter *interpreter, struct string *code);
|
|
unsigned char *spidermonkey_eval_stringback(struct ecmascript_interpreter *interpreter, struct string *code);
|
|
int spidermonkey_eval_boolback(struct ecmascript_interpreter *interpreter, struct string *code);
|
|
|
|
#endif
|