2006-01-10 13:17:29 -05:00
|
|
|
#ifndef EL__ECMASCRIPT_SEE_H
|
|
|
|
#define EL__ECMASCRIPT_SEE_H
|
|
|
|
|
|
|
|
struct ecmascript_interpreter;
|
|
|
|
struct string;
|
|
|
|
|
|
|
|
void *see_get_interpreter(struct ecmascript_interpreter *interpreter);
|
|
|
|
void see_put_interpreter(struct ecmascript_interpreter *interpreter);
|
|
|
|
|
2008-07-18 12:43:30 -04:00
|
|
|
#define see_detach_form_view(fv) ((fv)->ecmascript_obj = NULL)
|
2008-07-18 12:16:34 -04:00
|
|
|
#define see_detach_form_state(fs) ((fs)->ecmascript_obj = NULL)
|
|
|
|
#define see_moved_form_state(fs) ((void) (fs))
|
|
|
|
|
2006-01-27 06:07:45 -05:00
|
|
|
void see_eval(struct ecmascript_interpreter *interpreter, struct string *code, struct string *ret);
|
2006-01-10 13:17:29 -05:00
|
|
|
unsigned char *see_eval_stringback(struct ecmascript_interpreter *interpreter, struct string *code);
|
|
|
|
int see_eval_boolback(struct ecmascript_interpreter *interpreter, struct string *code);
|
|
|
|
|
2006-01-16 08:14:14 -05:00
|
|
|
extern struct module see_module;
|
2006-01-10 13:17:29 -05:00
|
|
|
#endif
|