Add wrenAbortFiber().

Thanks, @underscorediscovery!
This commit is contained in:
Bob Nystrom
2016-06-09 19:14:21 -07:00
parent 8657a42c21
commit 59e9eb127e
8 changed files with 55 additions and 1 deletions
+3
View File
@@ -436,5 +436,8 @@ void wrenInsertInList(WrenVM* vm, int listSlot, int index, int elementSlot);
// [slot].
void wrenGetVariable(WrenVM* vm, const char* module, const char* name,
int slot);
// Sets the current fiber to be aborted, and uses the value in [slot] as the
// runtime error object.
void wrenAbortFiber(WrenVM* vm, int slot);
#endif