mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2026-02-07 15:50:09 +00:00
Fixing handling of 'undefined' value in jerry_api_convert_ecma_value_to_api_value.
This commit is contained in:
parent
28f6741358
commit
a32b149a1a
@ -80,7 +80,7 @@ jerry_api_convert_ecma_value_to_api_value (jerry_api_value_t *out_value_p, /**<
|
||||
{
|
||||
out_value_p->type = JERRY_API_DATA_TYPE_UNDEFINED;
|
||||
}
|
||||
if (ecma_is_value_null (value))
|
||||
else if (ecma_is_value_null (value))
|
||||
{
|
||||
out_value_p->type = JERRY_API_DATA_TYPE_NULL;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user