2009-05-04 02:46:13 -04:00
|
|
|
namespace factor
|
|
|
|
{
|
|
|
|
|
2009-05-04 02:00:30 -04:00
|
|
|
#define VM_C_API extern "C" __attribute__((visibility("default")))
|
2009-05-02 05:04:19 -04:00
|
|
|
#define FACTOR_OS_STRING "macosx"
|
|
|
|
#define NULL_DLL "libfactor.dylib"
|
|
|
|
|
2009-05-05 12:33:35 -04:00
|
|
|
void init_signals();
|
|
|
|
void early_init();
|
2009-05-02 05:04:19 -04:00
|
|
|
|
2009-05-05 12:33:35 -04:00
|
|
|
const char *vm_executable_path();
|
|
|
|
const char *default_image_path();
|
2009-05-02 05:04:19 -04:00
|
|
|
|
2009-05-04 05:50:24 -04:00
|
|
|
void c_to_factor_toplevel(cell quot);
|
2009-05-04 02:46:13 -04:00
|
|
|
|
2009-10-22 06:22:59 -04:00
|
|
|
#define UAP_STACK_POINTER(ucontext) (((ucontext_t *)ucontext)->uc_stack.ss_sp)
|
|
|
|
|
2009-05-04 02:46:13 -04:00
|
|
|
}
|