]> git.lizzy.rs Git - uwu-lang.git/blobdiff - api/ref.h
Add :ref module and refactor type handling
[uwu-lang.git] / api / ref.h
index 6a2fead614bb6cc7224f70708219c21b8b8f776e..4bbe017ffd49dc75545520863fc52e85b20db2d2 100644 (file)
--- a/api/ref.h
+++ b/api/ref.h
@@ -4,7 +4,7 @@
 #include "vm.h"
 
 extern UwUVMType uwuref_type;
-
-UwUVMValue uwuref_create(UwUVMFunction *function);
+UwUVMValue       uwuref_create(UwUVMFunction *value);
+UwUVMFunction   *uwuref_get(UwUVMValue vm_value);
 
 #endif