From ecc06c082036aa93f6810ec21e73610c55f5a57b Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Thu, 30 Dec 2021 14:18:15 +0100 Subject: Initial commit --- api/int.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 api/int.c (limited to 'api/int.c') diff --git a/api/int.c b/api/int.c new file mode 100644 index 0000000..aea8e26 --- /dev/null +++ b/api/int.c @@ -0,0 +1,11 @@ +#include "int.h" + +UwUVMValue uwuint_create(int value) +{ + return (UwUVMValue) { + .type = VT_INT, + .value = { + .int_value = value, + }, + }; +} -- cgit v1.2.3