]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/factor.hpp
Put brackets around ipv6 addresses in `inet6 present`
[factor.git] / vm / factor.hpp
index 5c60258a01aaa8e4dbe5dd0d773d72387280e7ba..e127b891ddc9c703cb522eea0cf3476614ec753e 100644 (file)
@@ -1,16 +1,24 @@
 namespace factor {
 
-VM_C_API void init_globals();
 factor_vm* new_factor_vm();
 VM_C_API void start_standalone_factor(int argc, vm_char** argv);
 
+// image
+bool factor_arg(const vm_char* str, const vm_char* arg, cell* value);
+
+// objects
+cell object_size(cell tagged);
+
 // os-*
 void open_console();
 void close_console();
 void lock_console();
 void unlock_console();
+bool move_file(const vm_char* path1, const vm_char* path2);
 
 void ignore_ctrl_c();
 void handle_ctrl_c();
 
+bool set_memory_locked(cell base, cell size, bool locked);
+
 }