1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-01-03 14:57:44 -05:00
elinks/src/scripting/smjs/global_object.h

14 lines
433 B
C
Raw Normal View History

#ifndef EL__SCRIPTING_SMJS_GLOBAL_OBJECT_H
#define EL__SCRIPTING_SMJS_GLOBAL_OBJECT_H
#include "ecmascript/spidermonkey/util.h"
/* The root of the object hierarchy. If object 'foo' has this as its parent,
* you can use foo's method and properties with 'foo.<method|property>'. */
extern JSObject *smjs_global_object;
/* Create the global object and assign it to smjs_global_object. */
void smjs_init_global_object(void);
#endif