diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2022-01-01 19:42:10 +0100 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2022-01-01 19:42:10 +0100 |
commit | 7b375939be901cf2114916193da9f4b9864f0504 (patch) | |
tree | 8fceafb2b1cc3817ee9f9d39eb9509f2d8e93033 /nil.c | |
download | uwu-std-master.tar.xz |
Diffstat (limited to 'nil.c')
-rw-r--r-- | nil.c | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -0,0 +1,14 @@ +#include "common/err.h" +#include "api/nil.h" +#include "api/util.h" + +UwUVMValue uwu_nil(UwUVMArgs *args) +{ + uwuutil_require_exact("nil.nil", args, 0); + return uwunil_create(); +} + +UwUVMValue uwu_is(UwUVMArgs *args) +{ + return uwuutil_is_type("nil.is", args, &uwunil_type); +} |