@@ -37,7 +37,7 @@ class Engine {
3737public:
3838 Engine ();
3939 JSContext *cx ();
40- HandleObject global ();
40+ JS:: HandleObject global ();
4141
4242 // / Initialize the engine with the given filename
4343 bool initialize (const char * filename);
@@ -54,7 +54,7 @@ class Engine {
5454 *
5555 * Once loaded, the instance is cached and reused as a singleton.
5656 */
57- bool define_builtin_module (const char *id, HandleValue builtin);
57+ bool define_builtin_module (const char *id, JS:: HandleValue builtin);
5858
5959 /* *
6060 * Treat the top-level script as a module or classic JS script.
@@ -105,7 +105,7 @@ class Engine {
105105 * Get the JS value associated with the top-level script execution -
106106 * the last expression for a script, or the module namespace for a module.
107107 */
108- HandleValue script_value ();
108+ JS:: HandleValue script_value ();
109109
110110 bool has_pending_async_tasks ();
111111 void queue_async_task (AsyncTask *task);
@@ -118,11 +118,11 @@ class Engine {
118118 bool dump_value (JS::Value val, FILE *fp = stdout);
119119 bool print_stack (FILE *fp);
120120 void dump_pending_exception (const char *description = " " );
121- void dump_promise_rejection (HandleValue reason, HandleObject promise, FILE *fp);
121+ void dump_promise_rejection (HandleValue reason, JS:: HandleObject promise, FILE *fp);
122122};
123123
124124
125- typedef bool (*TaskCompletionCallback)(JSContext* cx, HandleObject receiver);
125+ typedef bool (*TaskCompletionCallback)(JSContext* cx, JS:: HandleObject receiver);
126126
127127class AsyncTask {
128128protected:
0 commit comments