aboutsummaryrefslogtreecommitdiff
path: root/api/bool.h
diff options
context:
space:
mode:
authorElias Fleckenstein <eliasfleckenstein@web.de>2021-12-30 14:18:15 +0100
committerElias Fleckenstein <eliasfleckenstein@web.de>2021-12-30 14:18:15 +0100
commitecc06c082036aa93f6810ec21e73610c55f5a57b (patch)
treeaff479c3bc5b39ead9f65dffb01d399b341fa4ba /api/bool.h
downloaduwu-lang-ecc06c082036aa93f6810ec21e73610c55f5a57b.tar.xz
Initial commit
Diffstat (limited to 'api/bool.h')
-rw-r--r--api/bool.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/api/bool.h b/api/bool.h
new file mode 100644
index 0000000..2299177
--- /dev/null
+++ b/api/bool.h
@@ -0,0 +1,12 @@
+#ifndef _API_BOOL_H_
+#define _API_BOOL_H_
+
+#include <stdbool.h>
+#include "vm.h"
+
+extern UwUVMNativeType uwubool_type;
+
+UwUVMValue uwubool_create(bool value);
+bool uwubool_get(UwUVMValue vm_value);
+
+#endif