From: Dmitry Volyntsev Date: Mon, 5 Aug 2019 16:02:17 +0000 (+0300) Subject: Removed obsolete commentaries for njs_value_property() and friends. X-Git-Tag: 0.3.4~20 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=8016e84d7d2b116014070fb37a25c42123b3ed64;p=njs.git Removed obsolete commentaries for njs_value_property() and friends. After NJS_TRAP and NJS_APPLIED was eliminanted they are mostly useless. --- diff --git a/src/njs_value.c b/src/njs_value.c index 0fb42e22..b92a69c3 100644 --- a/src/njs_value.c +++ b/src/njs_value.c @@ -911,15 +911,6 @@ njs_external_property_delete(njs_vm_t *vm, njs_value_t *value, } -/* - * ES5.1, 8.12.3: [[Get]]. - * NJS_OK property has been found in object, - * retval will contain the property's value - * - * NJS_DECLINED property was not found in object - * NJS_ERROR exception has been thrown. - * retval will contain undefined - */ njs_int_t njs_value_property(njs_vm_t *vm, njs_value_t *value, njs_value_t *key, njs_value_t *retval) @@ -1004,10 +995,6 @@ njs_value_property(njs_vm_t *vm, njs_value_t *value, njs_value_t *key, } -/* - * NJS_OK property has been set successfully - * NJS_ERROR exception has been thrown. - */ njs_int_t njs_value_property_set(njs_vm_t *vm, njs_value_t *value, njs_value_t *key, njs_value_t *setval)