This commit is contained in:
ruby0x1
2021-05-05 14:29:39 -07:00
parent aca7c70079
commit 7fb7f6430d

View File

@ -81,7 +81,7 @@ bool validateInt(WrenVM* vm, Value arg, const char* argName);
// Validates that [arg] is a valid object for use as a map key. Returns true if
// it is. If not, reports an error and returns false.
bool validateKey(WrenVM * vm, Value arg);
bool validateKey(WrenVM* vm, Value arg);
// Validates that the argument at [argIndex] is an integer within `[0, count)`.
// Also allows negative indices which map backwards from the end. Returns the