Allow to create ArrayBuffer with empty external user data (#3373)
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs r.takacs2@partner.samsung.com
This commit is contained in:
committed by
Robert Fancsik
parent
35c0a6e299
commit
c5ed46f5ac
@@ -3707,7 +3707,7 @@ jerry_create_arraybuffer_external (const jerry_length_t size
|
||||
- `free_cb` - the callback function called when the object is released
|
||||
- return value
|
||||
- the new ArrayBuffer as a `jerry_value_t`
|
||||
- if the `size` is zero or `buffer_p` is a null pointer will return RangeError
|
||||
- if the `size` is zero or `buffer_p` is a null pointer this will return an empty ArrayBuffer.
|
||||
|
||||
*New in version 2.0*.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user