factor/vm/os-macosx.hpp

23 lines
460 B
C++
Raw Normal View History

2009-05-04 02:46:13 -04:00
namespace factor
{
#define VM_C_API extern "C" __attribute__((visibility("default")))
2009-05-02 05:04:19 -04:00
#define FACTOR_OS_STRING "macosx"
#define NULL_DLL "libfactor.dylib"
void init_signals(void);
void early_init(void);
const char *vm_executable_path(void);
const char *default_image_path(void);
inline static void *ucontext_stack_pointer(void *uap)
2009-05-02 05:04:19 -04:00
{
ucontext_t *ucontext = (ucontext_t *)uap;
return ucontext->uc_stack.ss_sp;
}
void c_to_factor_toplevel(CELL quot);
2009-05-04 02:46:13 -04:00
}