1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
elinks/src/scripting/smjs/elinks_object.h

18 lines
559 B
C
Raw Normal View History

2005-12-18 12:47:54 -05:00
#ifndef EL__SCRIPTING_SMJS_ELINKS_OBJECT_H
#define EL__SCRIPTING_SMJS_ELINKS_OBJECT_H
#include "ecmascript/spidermonkey-shared.h"
2005-12-18 12:47:54 -05:00
2005-12-23 22:49:06 -05:00
/* 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. */
bool smjs_invoke_elinks_object_method(char *method, int argc, JS::Value *argv, JS::MutableHandleValue rval);
2005-12-18 12:47:54 -05:00
#endif