mirror of
https://github.com/janet-lang/janet
synced 2025-11-07 11:03:04 +00:00
Change convention for naming modules and functions.
This commit is contained in:
@@ -152,8 +152,8 @@ static int cfun_append(DstArgs args) {
|
||||
/* Load the tuple module */
|
||||
int dst_lib_tuple(DstArgs args) {
|
||||
DstTable *env = dst_env_arg(args);
|
||||
dst_env_def(env, "tuple-slice", dst_wrap_cfunction(cfun_slice));
|
||||
dst_env_def(env, "tuple-append", dst_wrap_cfunction(cfun_append));
|
||||
dst_env_def(env, "tuple-prepend", dst_wrap_cfunction(cfun_prepend));
|
||||
dst_env_def(env, "tuple.slice", dst_wrap_cfunction(cfun_slice));
|
||||
dst_env_def(env, "tuple.append", dst_wrap_cfunction(cfun_append));
|
||||
dst_env_def(env, "tuple.prepend", dst_wrap_cfunction(cfun_prepend));
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user