Fixed linker issues of handle scope in jerry-ext on Windows platform. (#2862)
JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
This commit is contained in:
committed by
Robert Fancsik
parent
3ec6b68063
commit
372ebd8260
@@ -36,7 +36,7 @@ static jerryx_handle_scope_pool_t jerryx_handle_scope_pool =
|
|||||||
/**
|
/**
|
||||||
* Get current handle scope top of stack.
|
* Get current handle scope top of stack.
|
||||||
*/
|
*/
|
||||||
inline jerryx_handle_scope_t *
|
jerryx_handle_scope_t *
|
||||||
jerryx_handle_scope_get_current (void)
|
jerryx_handle_scope_get_current (void)
|
||||||
{
|
{
|
||||||
return jerryx_handle_scope_current;
|
return jerryx_handle_scope_current;
|
||||||
@@ -45,7 +45,7 @@ jerryx_handle_scope_get_current (void)
|
|||||||
/**
|
/**
|
||||||
* Get root handle scope.
|
* Get root handle scope.
|
||||||
*/
|
*/
|
||||||
inline jerryx_handle_scope_t *
|
jerryx_handle_scope_t *
|
||||||
jerryx_handle_scope_get_root (void)
|
jerryx_handle_scope_get_root (void)
|
||||||
{
|
{
|
||||||
return &jerryx_handle_scope_root;
|
return &jerryx_handle_scope_root;
|
||||||
@@ -56,7 +56,7 @@ jerryx_handle_scope_get_root (void)
|
|||||||
*
|
*
|
||||||
* @param scope - the one to be determined.
|
* @param scope - the one to be determined.
|
||||||
*/
|
*/
|
||||||
static inline bool
|
static bool
|
||||||
jerryx_handle_scope_is_in_prelist (jerryx_handle_scope_t *scope)
|
jerryx_handle_scope_is_in_prelist (jerryx_handle_scope_t *scope)
|
||||||
{
|
{
|
||||||
return (jerryx_handle_scope_pool.prelist <= scope)
|
return (jerryx_handle_scope_pool.prelist <= scope)
|
||||||
|
|||||||
Reference in New Issue
Block a user