1
0
forked from Mirror/wren

Added comment for wrenReturnBool

This commit is contained in:
Harry Lawrence
2015-01-17 12:02:23 +00:00
parent dec4f0d1e7
commit b7d03971c6

View File

@ -149,6 +149,9 @@ void wrenReturnNull(WrenVM* vm);
// [text] will be calculated using `strlen()`.
void wrenReturnString(WrenVM* vm, const char* text, int length);
// Provides a boolean 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.
void wrenReturnBool(WrenVM* vm, bool value);
#endif