4 #define VM_C_API extern "C" __attribute__((visibility("default")))
5 #define FACTOR_OS_STRING "macosx"
9 const char *vm_executable_path();
10 const char *default_image_path();
12 #define UAP_STACK_POINTER(ucontext) (((ucontext_t *)ucontext)->uc_stack.ss_sp)
13 #define UAP_SET_TOC_POINTER(uap, ptr) (void)0
15 #define UAP_STACK_POINTER_TYPE void *
17 #define CODE_TO_FUNCTION_POINTER(code) (void)0
18 #define CODE_TO_FUNCTION_POINTER_CALLBACK(vm, code) (void)0
19 #define FUNCTION_CODE_POINTER(ptr) ptr
20 #define FUNCTION_TOC_POINTER(ptr) ptr