ELinks 0.18.0
|
#include <mujs.h>
Functions | |
void * | mujs_get_interpreter (struct ecmascript_interpreter *interpreter) |
void | mujs_put_interpreter (struct ecmascript_interpreter *interpreter) |
void | mujs_eval (struct ecmascript_interpreter *interpreter, struct string *code, struct string *ret) |
char * | mujs_eval_stringback (struct ecmascript_interpreter *interpreter, struct string *code) |
int | mujs_eval_boolback (struct ecmascript_interpreter *interpreter, struct string *code) |
void | mujs_call_function (struct ecmascript_interpreter *interpreter, const char *fun, struct string *ret) |
void | addmethod (js_State *J, const char *name, js_CFunction fun, int n) |
void | addproperty (js_State *J, const char *name, js_CFunction getfun, js_CFunction setfun) |
Variables | |
struct module | mujs_module |
void addmethod | ( | js_State * | J, |
const char * | name, | ||
js_CFunction | fun, | ||
int | n ) |
void addproperty | ( | js_State * | J, |
const char * | name, | ||
js_CFunction | getfun, | ||
js_CFunction | setfun ) |
void mujs_call_function | ( | struct ecmascript_interpreter * | interpreter, |
const char * | fun, | ||
struct string * | ret ) |
void mujs_eval | ( | struct ecmascript_interpreter * | interpreter, |
struct string * | code, | ||
struct string * | ret ) |
int mujs_eval_boolback | ( | struct ecmascript_interpreter * | interpreter, |
struct string * | code ) |
char * mujs_eval_stringback | ( | struct ecmascript_interpreter * | interpreter, |
struct string * | code ) |
void * mujs_get_interpreter | ( | struct ecmascript_interpreter * | interpreter | ) |
void mujs_put_interpreter | ( | struct ecmascript_interpreter * | interpreter | ) |
|
extern |