]> git.kaiwu.me - njs.git/commitdiff
Removed obsolete commentaries for njs_value_property() and friends.
authorDmitry Volyntsev <xeioex@nginx.com>
Mon, 5 Aug 2019 16:02:17 +0000 (19:02 +0300)
committerDmitry Volyntsev <xeioex@nginx.com>
Mon, 5 Aug 2019 16:02:17 +0000 (19:02 +0300)
After NJS_TRAP and NJS_APPLIED was eliminanted they are mostly useless.

src/njs_value.c

index 0fb42e22892ba54b3b4210bf10a899cdfed4b288..b92a69c3825c9c79824036cf38d33993414ba7bc 100644 (file)
@@ -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)