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_stream_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_stream_js_module.c')
-rw-r--r-- | nginx/ngx_stream_js_module.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nginx/ngx_stream_js_module.c b/nginx/ngx_stream_js_module.c index b5c8681b..3e2a2dab 100644 --- a/nginx/ngx_stream_js_module.c +++ b/nginx/ngx_stream_js_module.c @@ -568,6 +568,7 @@ static njs_int_t ngx_stream_js_session_flags_proto_id; njs_module_t ngx_js_stream_module = { .name = njs_str("stream"), + .preinit = NULL, .init = ngx_js_stream_init, }; |