diff options
Diffstat (limited to 'std/nil.c')
-rw-r--r-- | std/nil.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/std/nil.c b/std/nil.c new file mode 100644 index 0000000..33230fb --- /dev/null +++ b/std/nil.c @@ -0,0 +1,10 @@ +#include "../src/err.h" +#include "../api/nil.h" + +UwUVMValue uwu_nil(UwUVMArgs *args) +{ + if (args->num != 0) + error(":nil:nil does not accept any arguments\n"); + + return uwunil_create(); +} |