[njs] Public header cleanup.
Dmitry Volyntsev
xeioex at nginx.com
Thu May 3 15:29:59 UTC 2018
details: http://hg.nginx.org/njs/rev/4ab51298e1fe
branches:
changeset: 516:4ab51298e1fe
user: Dmitry Volyntsev <xeioex at nginx.com>
date: Thu May 03 18:29:28 2018 +0300
description:
Public header cleanup.
diffstat:
njs/njs.h | 6 ------
njs/njs_vm.h | 6 ++++++
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (32 lines):
diff -r 71455987b770 -r 4ab51298e1fe njs/njs.h
--- a/njs/njs.h Thu May 03 18:29:26 2018 +0300
+++ b/njs/njs.h Thu May 03 18:29:28 2018 +0300
@@ -134,12 +134,6 @@ typedef struct {
} njs_vm_opt_t;
-typedef struct {
- nxt_str_t name;
- uint32_t line;
-} njs_backtrace_entry_t;
-
-
#define NJS_OK NXT_OK
#define NJS_ERROR NXT_ERROR
#define NJS_AGAIN NXT_AGAIN
diff -r 71455987b770 -r 4ab51298e1fe njs/njs_vm.h
--- a/njs/njs_vm.h Thu May 03 18:29:26 2018 +0300
+++ b/njs/njs_vm.h Thu May 03 18:29:28 2018 +0300
@@ -347,6 +347,12 @@ typedef union {
} njs_object_prototype_t;
+typedef struct {
+ nxt_str_t name;
+ uint32_t line;
+} njs_backtrace_entry_t;
+
+
#define njs_value(_type, _truth, _number) { \
.data = { \
.type = _type, \
More information about the nginx-devel
mailing list