From 4c52777ca9e52edd0bff76168d886de9757ea457 Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Thu, 30 Dec 2021 16:53:37 +0100 Subject: Add :ref module and refactor type handling --- api/nil.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'api/nil.c') diff --git a/api/nil.c b/api/nil.c index b6304e0..2c47cb6 100644 --- a/api/nil.c +++ b/api/nil.c @@ -9,12 +9,12 @@ UwUVMValue uwunil_create() }; } -static void *uwunil_copy(void *data) +static void *uwunil_clone(void *data) { return data; } -static void uwunil_delete(void *data) +static void uwunil_delet(void *data) { (void) data; } @@ -26,7 +26,7 @@ static char *uwunil_print(void *data) } UwUVMType uwunil_type = { - .copy = &uwunil_copy, - .delete = &uwunil_delete, + .clone = &uwunil_clone, + .delet = &uwunil_delet, .print = &uwunil_print, }; -- cgit v1.2.3