]> gitweb.factorcode.org Git - factor.git/blob - vm/os-macosx.hpp
statically link factor executable to VM so dylib is only needed for embedding
[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 NULL
7
8 void early_init();
9
10 const char *vm_executable_path();
11 const char *default_image_path();
12
13 #define UAP_STACK_POINTER(ucontext) (((ucontext_t *)ucontext)->uc_stack.ss_sp)
14
15 #define UAP_STACK_POINTER_TYPE void*
16
17 }