mirror of
https://github.com/janet-lang/janet
synced 2024-11-25 01:37:19 +00:00
Merge pull request #280 from pepe/fix-next-arity
Fix next function arity
This commit is contained in:
commit
8be3ce18aa
@ -990,7 +990,7 @@ JanetTable *janet_core_env(JanetTable *replacements) {
|
|||||||
JDOC("(% dividend divisor)\n\n"
|
JDOC("(% dividend divisor)\n\n"
|
||||||
"Returns the remainder of dividend / divisor."));
|
"Returns the remainder of dividend / divisor."));
|
||||||
janet_quick_asm(env, JANET_FUN_NEXT,
|
janet_quick_asm(env, JANET_FUN_NEXT,
|
||||||
"next", 2, 2, 2, 2, next_asm, sizeof(next_asm),
|
"next", 2, 1, 2, 2, next_asm, sizeof(next_asm),
|
||||||
JDOC("(next ds &opt key)\n\n"
|
JDOC("(next ds &opt key)\n\n"
|
||||||
"Gets the next key in a datastructure. Can be used to iterate through "
|
"Gets the next key in a datastructure. Can be used to iterate through "
|
||||||
"the keys of a data structure in an unspecified order. Keys are guaranteed "
|
"the keys of a data structure in an unspecified order. Keys are guaranteed "
|
||||||
|
Loading…
Reference in New Issue
Block a user