diff options
Diffstat (limited to 'core/01_core.js')
-rw-r--r-- | core/01_core.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/01_core.js b/core/01_core.js index b1497c934..296d9bbcf 100644 --- a/core/01_core.js +++ b/core/01_core.js @@ -148,6 +148,10 @@ opSync("op_close", rid); } + function tryClose(rid) { + opSync("op_try_close", rid); + } + function print(str, isErr = false) { opSync("op_print", str, isErr); } @@ -175,6 +179,7 @@ opSync, ops, close, + tryClose, print, resources, registerErrorBuilder, |