aboutsummaryrefslogtreecommitdiff
path: root/std/nil.c
blob: 52a2872337dea0da7494b72dbba8bc70d3ed45bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);
}