add using
[factor/jcg.git] / vm / os-macosx.h
blob216212e9732ea24fdb36f5b5a42b1be70ffe296a
1 #define DLLEXPORT __attribute__((visibility("default")))
2 #define FACTOR_OS_STRING "macosx"
3 #define NULL_DLL "libfactor.dylib"
5 void init_signals(void);
6 void early_init(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;