Implemented wrenGetArgumentBool

This commit is contained in:
Harry Lawrence
2015-01-19 14:40:37 +00:00
parent 2a4804bbc9
commit 2763ab3176
2 changed files with 12 additions and 0 deletions
+2
View File
@@ -129,6 +129,8 @@ double wrenGetArgumentDouble(WrenVM* vm, int index);
// function returns, since the garbage collector may reclaim it.
const char* wrenGetArgumentString(WrenVM* vm, int index);
bool wrenGetArgumentBool(WrenVM* vm, int index);
// Provides a numeric return value for a foreign call. This must only be called
// within a function provided to [wrenDefineMethod]. Once this is called, the
// foreign call is done, and no more arguments can be read or return calls made.