2009-05-04 02:46:13 -04:00
|
|
|
namespace factor
|
|
|
|
{
|
|
|
|
|
2009-05-04 02:00:30 -04:00
|
|
|
#define VM_C_API extern "C"
|
2009-05-02 05:04:19 -04:00
|
|
|
#define NULL_DLL NULL
|
|
|
|
|
2009-05-04 05:50:24 -04:00
|
|
|
void c_to_factor_toplevel(cell quot);
|
2009-05-05 12:33:35 -04:00
|
|
|
void init_signals();
|
|
|
|
void early_init();
|
|
|
|
const char *vm_executable_path();
|
|
|
|
const char *default_image_path();
|
2009-05-04 02:46:13 -04:00
|
|
|
|
2009-10-22 06:38:02 -04:00
|
|
|
template<typename Type> Type align_stack_pointer(Type sp)
|
2009-10-22 06:22:59 -04:00
|
|
|
{
|
|
|
|
return sp;
|
|
|
|
}
|
|
|
|
|
2009-05-04 02:46:13 -04:00
|
|
|
}
|