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