mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-11 22:28:45 +01:00
minor
This commit is contained in:
@ -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
|
// 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.
|
// 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)`.
|
// Validates that the argument at [argIndex] is an integer within `[0, count)`.
|
||||||
// Also allows negative indices which map backwards from the end. Returns the
|
// Also allows negative indices which map backwards from the end. Returns the
|
||||||
|
|||||||
Reference in New Issue
Block a user