Implemented wrenReturnBool in vm
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
typedef struct WrenVM WrenVM;
|
||||
|
||||
@@ -148,4 +149,6 @@ void wrenReturnNull(WrenVM* vm);
|
||||
// [text] will be calculated using `strlen()`.
|
||||
void wrenReturnString(WrenVM* vm, const char* text, int length);
|
||||
|
||||
void wrenReturnBool(WrenVM* vm, bool value);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user