Get finalizers working.

This commit is contained in:
Bob Nystrom
2015-08-31 21:56:21 -07:00
parent 1e0a2e6036
commit 36f3059e48
6 changed files with 103 additions and 10 deletions
+3
View File
@@ -167,6 +167,9 @@ WrenVM* wrenNewVM(WrenConfiguration* configuration);
// call to [wrenNewVM].
void wrenFreeVM(WrenVM* vm);
// Immediately run the garbage collector to free unused memory.
void wrenCollectGarbage(WrenVM* vm);
// Runs [source], a string of Wren source code in a new fiber in [vm].
//
// [sourcePath] is a string describing where [source] was located, for use in