diff options
author | Dmitry Volyntsev <xeioex@nginx.com> | 2023-07-03 12:49:00 -0700 |
---|---|---|
committer | Dmitry Volyntsev <xeioex@nginx.com> | 2023-07-03 12:49:00 -0700 |
commit | 40b01ac098d7835263b1ab80bb040edc3d98b29b (patch) | |
tree | fcbc6ef97d9fa64842930c2a9e0b1fe2289f51c8 /nginx/ngx_http_js_module.c | |
parent | 7d5e38cc7df93767cd44904f892acdec384c6638 (diff) | |
download | njs-40b01ac098d7835263b1ab80bb040edc3d98b29b.tar.gz njs-40b01ac098d7835263b1ab80bb040edc3d98b29b.zip |
Added njs_vm_external_constructor().
The new API allows to add new constructor/prototype pairs.
Diffstat (limited to 'nginx/ngx_http_js_module.c')
-rw-r--r-- | nginx/ngx_http_js_module.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nginx/ngx_http_js_module.c b/nginx/ngx_http_js_module.c index 135afa5b..df3a0e5a 100644 --- a/nginx/ngx_http_js_module.c +++ b/nginx/ngx_http_js_module.c @@ -786,6 +786,7 @@ static njs_vm_meta_t ngx_http_js_metas = { njs_module_t ngx_js_http_module = { .name = njs_str("http"), + .preinit = NULL, .init = ngx_js_http_init, }; |