factor/vm/os-macosx.hpp

17 lines
331 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"
2009-05-05 12:33:35 -04:00
void early_init();
2009-05-02 05:04:19 -04:00
2009-05-05 12:33:35 -04:00
const char *vm_executable_path();
const char *default_image_path();
2009-05-02 05:04:19 -04:00
#define UAP_STACK_POINTER(ucontext) (((ucontext_t *)ucontext)->uc_stack.ss_sp)
2010-03-27 09:44:20 -04:00
#define UAP_STACK_POINTER_TYPE void*
2009-05-04 02:46:13 -04:00
}