diff options
Diffstat (limited to 'src/env.h')
-rw-r--r-- | src/env.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/env.h b/src/env.h index a0d59ff8728..9ac090e07cc 100644 --- a/src/env.h +++ b/src/env.h @@ -1233,6 +1233,14 @@ class Environment : public MemoryRetainer { const char* name, v8::FunctionCallback callback); + inline void SetConstructorFunction(v8::Local<v8::Object> that, + const char* name, + v8::Local<v8::FunctionTemplate> tmpl); + + inline void SetConstructorFunction(v8::Local<v8::Object> that, + v8::Local<v8::String> name, + v8::Local<v8::FunctionTemplate> tmpl); + void AtExit(void (*cb)(void* arg), void* arg); void RunAtExitCallbacks(); |