]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/factor.hpp
webapps.wiki: adding search bar
[factor.git] / vm / factor.hpp
index 8f2ff6295d9c7a7614c24ac7f66784d1983766a8..e127b891ddc9c703cb522eea0cf3476614ec753e 100644 (file)
@@ -1,7 +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);
+
 }