1
#ifndef EL__SCRIPTING_SMJS_ELINKS_OBJECT_H
2
#define EL__SCRIPTING_SMJS_ELINKS_OBJECT_H
4
#include "ecmascript/spidermonkey/util.h"
6
/* This is the all-powerful elinks object through which all client scripts
7
* will interface with ELinks. */
8
extern JSObject *smjs_elinks_object;
10
/* Initialise elinks_object. */
11
void smjs_init_elinks_object(void);
13
/* Invoke elinks.<method> with the given arguments and put the return value
15
JSBool smjs_invoke_elinks_object_method(unsigned char *method,
16
jsval argv[], int argc, jsval *rval);