aboutsummaryrefslogtreecommitdiff
path: root/api/int.c
diff options
context:
space:
mode:
Diffstat (limited to 'api/int.c')
-rw-r--r--api/int.c11
1 files changed, 11 insertions, 0 deletions
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,
+ },
+ };
+}