]> gitweb.factorcode.org Git - factor.git/blob - vm/os-macosx.hpp
audio.engine.test: cleanup using
[factor.git] / vm / os-macosx.hpp
1 namespace factor {
2
3 #define VM_C_API extern "C" __attribute__((visibility("default")))
4 #define FACTOR_OS_STRING "macosx"
5
6 void early_init();
7
8 const char* vm_executable_path();
9 const char* default_image_path();
10
11 #define UAP_STACK_POINTER(ucontext) (((ucontext_t*)ucontext)->uc_stack.ss_sp)
12
13 #define CODE_TO_FUNCTION_POINTER(code) (void)0
14 #define CODE_TO_FUNCTION_POINTER_CALLBACK(vm, code) (void)0
15 #define FUNCTION_CODE_POINTER(ptr) ptr
16 #define FUNCTION_TOC_POINTER(ptr) ptr
17
18 }