Do some work on wrenCall().

- Add an explicit va_list version. That lets variadic functions
  forward to it.
- Fix a GC bug in wrenCall() with return values.
- Make the call API test not re-enter the VM.
This commit is contained in:
Bob Nystrom
2015-09-29 19:29:10 -07:00
parent f757c9efac
commit 79354f5a97
9 changed files with 113 additions and 66 deletions
-3
View File
@@ -27,11 +27,8 @@ class Api {
// Otherwise print it.
System.print(value)
}
foreign static runTests()
}
Api.runTests()
// expect: noParams
// expect: zero
// expect: one 1