aboutsummaryrefslogtreecommitdiff
path: root/api/nil.c
diff options
context:
space:
mode:
Diffstat (limited to 'api/nil.c')
-rw-r--r--api/nil.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/api/nil.c b/api/nil.c
index bbd1eb8..b6304e0 100644
--- a/api/nil.c
+++ b/api/nil.c
@@ -4,13 +4,8 @@
UwUVMValue uwunil_create()
{
return (UwUVMValue) {
- .type = VT_NAT,
- .value = {
- .nat_value = {
- .type = &uwunil_type,
- .data = NULL,
- }
- }
+ .type = &uwunil_type,
+ .data = NULL,
};
}
@@ -30,7 +25,7 @@ static char *uwunil_print(void *data)
return strdup("");
}
-UwUVMNativeType uwunil_type = {
+UwUVMType uwunil_type = {
.copy = &uwunil_copy,
.delete = &uwunil_delete,
.print = &uwunil_print,