2013-05-11 21:59:58 -04:00
|
|
|
namespace factor {
|
2009-05-04 02:46:13 -04:00
|
|
|
|
2013-05-11 21:59:58 -04:00
|
|
|
factor_vm* new_factor_vm();
|
|
|
|
VM_C_API void start_standalone_factor(int argc, vm_char** argv);
|
2010-01-16 09:43:22 -05:00
|
|
|
|
2016-08-05 08:44:37 -04:00
|
|
|
// image
|
2016-05-12 22:12:57 -04:00
|
|
|
bool factor_arg(const vm_char* str, const vm_char* arg, cell* value);
|
|
|
|
|
2016-08-05 08:44:37 -04:00
|
|
|
// objects
|
2016-04-24 08:45:03 -04:00
|
|
|
cell object_size(cell tagged);
|
|
|
|
|
2016-08-05 08:44:37 -04:00
|
|
|
// os-*
|
2015-08-03 17:06:02 -04:00
|
|
|
void open_console();
|
|
|
|
void close_console();
|
|
|
|
void lock_console();
|
|
|
|
void unlock_console();
|
2015-09-29 17:08:45 -04:00
|
|
|
bool move_file(const vm_char* path1, const vm_char* path2);
|
2015-08-03 17:06:02 -04:00
|
|
|
|
|
|
|
void ignore_ctrl_c();
|
|
|
|
void handle_ctrl_c();
|
|
|
|
|
2015-08-24 02:47:36 -04:00
|
|
|
bool set_memory_locked(cell base, cell size, bool locked);
|
|
|
|
|
2009-05-04 02:46:13 -04:00
|
|
|
}
|