Revert "lists: Add list literal doc example."
[factor.git] / vm / factor.hpp
blobe127b891ddc9c703cb522eea0cf3476614ec753e
1 namespace factor {
3 factor_vm* new_factor_vm();
4 VM_C_API void start_standalone_factor(int argc, vm_char** argv);
6 // image
7 bool factor_arg(const vm_char* str, const vm_char* arg, cell* value);
9 // objects
10 cell object_size(cell tagged);
12 // os-*
13 void open_console();
14 void close_console();
15 void lock_console();
16 void unlock_console();
17 bool move_file(const vm_char* path1, const vm_char* path2);
19 void ignore_ctrl_c();
20 void handle_ctrl_c();
22 bool set_memory_locked(cell base, cell size, bool locked);