]> gitweb.factorcode.org Git - factor.git/blob - vm/os-macosx.hpp
Merge branch 'master' into new_gc
[factor.git] / vm / os-macosx.hpp
1 namespace factor
2 {
3
4 #define VM_C_API extern "C" __attribute__((visibility("default")))
5 #define FACTOR_OS_STRING "macosx"
6 #define NULL_DLL "libfactor.dylib"
7
8 void init_signals();
9 void early_init();
10
11 const char *vm_executable_path();
12 const char *default_image_path();
13
14 void c_to_factor_toplevel(cell quot);
15
16 #define UAP_STACK_POINTER(ucontext) (((ucontext_t *)ucontext)->uc_stack.ss_sp)
17
18 }