mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
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:
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.
|
||||
*/
|
||||
inline jerryx_handle_scope_t *
|
||||
jerryx_handle_scope_t *
|
||||
jerryx_handle_scope_get_current (void)
|
||||
{
|
||||
return jerryx_handle_scope_current;
|
||||
@ -45,7 +45,7 @@ jerryx_handle_scope_get_current (void)
|
||||
/**
|
||||
* Get root handle scope.
|
||||
*/
|
||||
inline jerryx_handle_scope_t *
|
||||
jerryx_handle_scope_t *
|
||||
jerryx_handle_scope_get_root (void)
|
||||
{
|
||||
return &jerryx_handle_scope_root;
|
||||
@ -56,7 +56,7 @@ jerryx_handle_scope_get_root (void)
|
||||
*
|
||||
* @param scope - the one to be determined.
|
||||
*/
|
||||
static inline bool
|
||||
static bool
|
||||
jerryx_handle_scope_is_in_prelist (jerryx_handle_scope_t *scope)
|
||||
{
|
||||
return (jerryx_handle_scope_pool.prelist <= scope)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user