mirror of
https://github.com/rkd77/elinks.git
synced 2024-07-07 13:34:34 -04:00
19 lines
354 B
C
19 lines
354 B
C
#ifndef EL__SCRIPTING_SMJS_CORE_H
|
|
#define EL__SCRIPTING_SMJS_CORE_H
|
|
|
|
#include "ecmascript/spidermonkey/util.h"
|
|
|
|
struct module;
|
|
struct session;
|
|
struct string;
|
|
|
|
extern JSContext *smjs_ctx;
|
|
extern struct session *smjs_ses;
|
|
|
|
void alert_smjs_error(unsigned char *msg);
|
|
|
|
void init_smjs(struct module *module);
|
|
void cleanup_smjs(struct module *module);
|
|
|
|
#endif
|