Lines Matching refs:scope
17 * Unit test for jerry-ext/handle-scope.
21 #include "jerryscript-ext/handle-scope.h"
41 jerryx_escapable_handle_scope scope;
42 jerryx_open_escapable_handle_scope (&scope);
48 jerryx_escape_handle (scope, obj, &escaped);
49 TEST_ASSERT (scope->prelist_handle_count == 0);
50 TEST_ASSERT (scope->handle_ptr == NULL);
52 jerryx_close_handle_scope (scope);
59 jerryx_handle_scope scope;
60 jerryx_open_handle_scope (&scope);
67 jerryx_close_handle_scope (scope);