Welcome! Log In Create A New Profile

Advanced

[njs] Style.

Dmitry Volyntsev
October 06, 2021 09:24AM
details: https://hg.nginx.org/njs/rev/5aceb5eaf2b2
branches:
changeset: 1713:5aceb5eaf2b2
user: Dmitry Volyntsev <xeioex@nginx.com>
date: Wed Oct 06 13:16:09 2021 +0000
description:
Style.

diffstat:

nginx/ngx_js.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 15a26b25a328 -r 5aceb5eaf2b2 nginx/ngx_js.h
--- a/nginx/ngx_js.h Wed Oct 06 15:57:14 2021 +0300
+++ b/nginx/ngx_js.h Wed Oct 06 13:16:09 2021 +0000
@@ -22,7 +22,7 @@

typedef ngx_pool_t *(*ngx_external_pool_pt)(njs_vm_t *vm, njs_external_ptr_t e);
typedef void (*ngx_js_event_handler_pt)(njs_external_ptr_t e,
- njs_vm_event_t vm_event, njs_value_t *args, njs_uint_t nargs);
+ njs_vm_event_t vm_event, njs_value_t *args, njs_uint_t nargs);
typedef ngx_resolver_t *(*ngx_external_resolver_pt)(njs_vm_t *vm,
njs_external_ptr_t e);
typedef ngx_msec_t (*ngx_external_resolver_timeout_pt)(njs_vm_t *vm,
@@ -33,11 +33,11 @@ typedef ngx_ssl_t *(*ngx_external_ssl_pt
#define ngx_external_connection(vm, e) \
(*((ngx_connection_t **) ((u_char *) (e) + njs_vm_meta(vm, 0))))
#define ngx_external_pool(vm, e) \
- ((ngx_external_pool_pt) njs_vm_meta(vm, 1))(vm, e)
+ ((ngx_external_pool_pt) njs_vm_meta(vm, 1))(vm, e)
#define ngx_external_resolver(vm, e) \
- ((ngx_external_resolver_pt) njs_vm_meta(vm, 2))(vm, e)
+ ((ngx_external_resolver_pt) njs_vm_meta(vm, 2))(vm, e)
#define ngx_external_resolver_timeout(vm, e) \
- ((ngx_external_resolver_timeout_pt) njs_vm_meta(vm, 3))(vm, e)
+ ((ngx_external_resolver_timeout_pt) njs_vm_meta(vm, 3))(vm, e)
#define ngx_external_event_handler(vm, e) \
((ngx_js_event_handler_pt) njs_vm_meta(vm, 4))
#define ngx_external_ssl(vm, e) \
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] Style.

Dmitry Volyntsev 180 October 06, 2021 09:24AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 67
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready