Dmitry Volyntsev
January 10, 2019 12:26PM
details: https://hg.nginx.org/njs/rev/112bd230858c
branches:
changeset: 725:112bd230858c
user: Dmitry Volyntsev <xeioex@nginx.com>
date: Thu Jan 10 20:18:27 2019 +0300
description:
Making njs_function_frame_alloc() static.

diffstat:

njs/njs_function.c | 1 +
njs/njs_function.h | 1 -
2 files changed, 1 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r f62736ecfa8f -r 112bd230858c njs/njs_function.c
--- a/njs/njs_function.c Tue Jan 08 08:41:40 2019 +0800
+++ b/njs/njs_function.c Thu Jan 10 20:18:27 2019 +0300
@@ -8,6 +8,7 @@
#include <string.h>


+static njs_native_frame_t *njs_function_frame_alloc(njs_vm_t *vm, size_t size);
static njs_ret_t njs_normalize_args(njs_vm_t *vm, njs_value_t *args,
uint8_t *args_types, nxt_uint_t nargs);

diff -r f62736ecfa8f -r 112bd230858c njs/njs_function.h
--- a/njs/njs_function.h Tue Jan 08 08:41:40 2019 +0800
+++ b/njs/njs_function.h Thu Jan 10 20:18:27 2019 +0300
@@ -149,7 +149,6 @@ struct njs_frame_s {

njs_function_t *njs_function_alloc(njs_vm_t *vm);
njs_function_t *njs_function_value_copy(njs_vm_t *vm, njs_value_t *value);
-njs_native_frame_t *njs_function_frame_alloc(njs_vm_t *vm, size_t size);
njs_ret_t njs_function_arguments_object_init(njs_vm_t *vm,
njs_native_frame_t *frame);
njs_ret_t njs_function_rest_parameters_init(njs_vm_t *vm,
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] Making njs_function_frame_alloc() static.

Dmitry Volyntsev 310 January 10, 2019 12:26PM



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

Online Users

Guests: 124
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready