[njs] Fixed njs_prop_handler_t inline documentation.

Dmitry Volyntsev xeioex at nginx.com
Wed Jul 29 17:01:22 UTC 2020


details:   https://hg.nginx.org/njs/rev/cb490ee06ac2
branches:  
changeset: 1483:cb490ee06ac2
user:      Dmitry Volyntsev <xeioex at nginx.com>
date:      Wed Jul 29 17:00:23 2020 +0000
description:
Fixed njs_prop_handler_t inline documentation.

diffstat:

 src/njs.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (16 lines):

diff -r d4c69313ac6c -r cb490ee06ac2 src/njs.h
--- a/src/njs.h	Mon Jul 27 14:34:35 2020 +0000
+++ b/src/njs.h	Wed Jul 29 17:00:23 2020 +0000
@@ -73,9 +73,9 @@ extern const njs_value_t            njs_
  *
  * njs_prop_handler_t is expected to return:
  *   NJS_OK - handler executed successfully;
- *   NJS_ERROR - some error, vm->retval contains appropriate exception;
- *   NJS_DECLINED - handler was applied to inappropriate object, vm->retval
- *   contains undefined value.
+ *   NJS_DECLINED - handler was applied to inappropriate object, retval
+ *   contains undefined value;
+ *   NJS_ERROR - some error, vm->retval contains appropriate exception.
  */
 typedef njs_int_t (*njs_prop_handler_t) (njs_vm_t *vm, njs_object_prop_t *prop,
     njs_value_t *value, njs_value_t *setval, njs_value_t *retval);


More information about the nginx-devel mailing list