diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2022-01-01 18:03:36 +0100 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2022-01-01 18:03:36 +0100 |
commit | 8cd163d433aed8edf41b348e43546bf47c5de197 (patch) | |
tree | 047e412aa7e2129882f937e4b4c788bc6696930f /fs.c | |
parent | 16a9370e7f55eafdbe67dda3c84577d53494258b (diff) | |
download | uwu-nolambda-8cd163d433aed8edf41b348e43546bf47c5de197.tar.xz |
Update to new uwu syntax
Diffstat (limited to 'fs.c')
-rw-r--r-- | fs.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -11,7 +11,7 @@ UwUVMValue uwu_read(UwUVMArgs *args) { - uwuutil_require_exact("fs:read", args, 1); + uwuutil_require_exact("fs.read", args, 1); char *filename = uwustr_get(uwuvm_get_arg(args, 0)); @@ -36,7 +36,7 @@ UwUVMValue uwu_read(UwUVMArgs *args) UwUVMValue uwu_write(UwUVMArgs *args) { - uwuutil_require_exact("fs:write", args, 2); + uwuutil_require_exact("fs.write", args, 2); char *filename = uwustr_get(uwuvm_get_arg(args, 0)); char *contents = uwustr_get(uwuvm_get_arg(args, 1)); @@ -56,7 +56,7 @@ UwUVMValue uwu_write(UwUVMArgs *args) UwUVMValue uwu_remove(UwUVMArgs *args) { - uwuutil_require_min("fs:remove", args, 1); + uwuutil_require_min("fs.remove", args, 1); for (size_t i = 0; i < args->num; i++) { char *filename = uwustr_get(uwuvm_get_arg(args, i)); @@ -71,7 +71,7 @@ UwUVMValue uwu_remove(UwUVMArgs *args) UwUVMValue uwu_exists(UwUVMArgs *args) { - uwuutil_require_min("fs:exists", args, 1); + uwuutil_require_min("fs.exists", args, 1); for (size_t i = 0; i < args->num; i++) { char *filename = uwustr_get(uwuvm_get_arg(args, i)); |