Welcome! Log In Create A New Profile

Advanced

[njs] Style.

Alexander Borisov
December 03, 2019 08:46AM
details: https://hg.nginx.org/njs/rev/da7cff928b80
branches:
changeset: 1274:da7cff928b80
user: Alexander Borisov <alexander.borisov@nginx.com>
date: Tue Dec 03 16:44:03 2019 +0300
description:
Style.

diffstat:

src/njs_diyfp.h | 4 ++--
src/njs_value.c | 1 +
src/njs_value.h | 6 ++----
3 files changed, 5 insertions(+), 6 deletions(-)

diffs (45 lines):

diff -r afe38b7fabe4 -r da7cff928b80 src/njs_diyfp.h
--- a/src/njs_diyfp.h Tue Dec 03 16:43:04 2019 +0300
+++ b/src/njs_diyfp.h Tue Dec 03 16:44:03 2019 +0300
@@ -19,8 +19,8 @@ typedef struct {


typedef union {
- double d;
- uint64_t u64;
+ double d;
+ uint64_t u64;
} njs_diyfp_conv_t;


diff -r afe38b7fabe4 -r da7cff928b80 src/njs_value.c
--- a/src/njs_value.c Tue Dec 03 16:43:04 2019 +0300
+++ b/src/njs_value.c Tue Dec 03 16:44:03 2019 +0300
@@ -1251,6 +1251,7 @@ njs_value_to_object(njs_vm_t *vm, njs_va
return NJS_ERROR;
}

+
void
njs_symbol_conversion_failed(njs_vm_t *vm, njs_bool_t to_string)
{
diff -r afe38b7fabe4 -r da7cff928b80 src/njs_value.h
--- a/src/njs_value.h Tue Dec 03 16:43:04 2019 +0300
+++ b/src/njs_value.h Tue Dec 03 16:44:03 2019 +0300
@@ -907,14 +907,12 @@ njs_int_t njs_value_property_delete(njs_
njs_value_t *key, njs_value_t *removed);
njs_int_t njs_value_to_object(njs_vm_t *vm, njs_value_t *value);

+void njs_symbol_conversion_failed(njs_vm_t *vm, njs_bool_t to_string);
+

#include "njs_number.h"


-void
-njs_symbol_conversion_failed(njs_vm_t *vm, njs_bool_t to_string);
-
-
njs_inline njs_int_t
njs_value_to_number(njs_vm_t *vm, njs_value_t *value, double *dst)
{
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] Style.

Alexander Borisov 46 December 03, 2019 08:46AM



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

Online Users

Guests: 85
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