]> gitweb.factorcode.org Git - factor.git/blob - vm/os-macosx.hpp
Merge branch 'master' of git://factorcode.org/git/factor
[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
7 void early_init();
8
9 const char *vm_executable_path();
10 const char *default_image_path();
11
12 #define UAP_STACK_POINTER(ucontext) (((ucontext_t *)ucontext)->uc_stack.ss_sp)
13
14 #define UAP_STACK_POINTER_TYPE void*
15
16 }