1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-07-07 13:34:34 -04:00
elinks/src/scripting/smjs/elinks_object.h
Miciah Dashiel Butler Masters f8de70b8f6 Comment smjs_elinks_object.
2005-12-24 03:49:06 +00:00

19 lines
589 B
C

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