1 #define DLLEXPORT __attribute__((visibility("default")))
2 #define FACTOR_OS_STRING "macosx"
3 #define NULL_DLL "libfactor.dylib"
5 void init_signals(void);
8 const char *vm_executable_path(void);
9 const char *default_image_path(void);
11 DLLEXPORT
void c_to_factor_toplevel(CELL quot
);
13 INLINE
void *ucontext_stack_pointer(void *uap
)
15 ucontext_t
*ucontext
= (ucontext_t
*)uap
;
16 return ucontext
->uc_stack
.ss_sp
;