1
0
forked from Mirror/wren

Tests for IO.read().

This commit is contained in:
Bob Nystrom
2015-01-11 21:47:29 -08:00
parent 7a7c7a8fad
commit 1d9445d9bc
8 changed files with 44 additions and 5 deletions

View File

@ -85,6 +85,10 @@ WrenVM* wrenNewVM(WrenConfiguration* configuration);
void wrenFreeVM(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
// debugging stack traces. It must not be `null`. If an empty string, it will
// not be shown in a stack trace.
WrenInterpretResult wrenInterpret(WrenVM* vm, const char* sourcePath,
const char* source);