]> gitweb.factorcode.org Git - factor.git/blob - vm/factor.hpp
vm: replace line comments // with block comments /**/ for consintency
[factor.git] / vm / factor.hpp
1 namespace factor {
2
3 VM_C_API void init_globals();
4 factor_vm* new_factor_vm();
5 VM_C_API void start_standalone_factor(int argc, vm_char** argv);
6
7 /* image */
8 bool factor_arg(const vm_char* str, const vm_char* arg, cell* value);
9
10 /* objects */
11 cell object_size(cell tagged);
12
13 /* os-* */
14 void open_console();
15 void close_console();
16 void lock_console();
17 void unlock_console();
18 bool move_file(const vm_char* path1, const vm_char* path2);
19
20 void ignore_ctrl_c();
21 void handle_ctrl_c();
22
23 bool set_memory_locked(cell base, cell size, bool locked);
24
25 }