]> git.lizzy.rs Git - uwu-lang.git/blobdiff - std/ref.c
Redesign function names
[uwu-lang.git] / std / ref.c
index ee18bfcabbc67474061504d7dbc1d9cdb1d642c6..0147160fcd351a5f76e5c5e6d5c3aa73d76f0819 100644 (file)
--- a/std/ref.c
+++ b/std/ref.c
@@ -4,17 +4,17 @@
 
 UwUVMValue uwu_call(UwUVMArgs *args)
 {
-       uwuutil_require_min(":ref:call", args, 1);
+       uwuutil_require_min("ref.call", args, 1);
 
        UwUVMValue value = uwuvm_get_arg(args, 0);
 
        if (value.type != &uwuref_type)
-               error(":ref:call requires a function reference as $1\n");
+               error("ref.call requires a function reference as $1\n");
 
        return uwuvm_call_function(value.data, args->num - 1, &args->unevaluated[1], args->super);
 }
 
 UwUVMValue uwu_is(UwUVMArgs *args)
 {
-       return uwuutil_is_type(":ref:is", args, &uwuref_type);
+       return uwuutil_is_type("ref.is", args, &uwuref_type);
 }