]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/os-macosx.hpp
Put brackets around ipv6 addresses in `inet6 present`
[factor.git] / vm / os-macosx.hpp
index 0d230f48e3651c0568e6f7935ebc80596def9521..83a20541620838a9a31b35cb23a5fdba6485a213 100644 (file)
@@ -1,18 +1,18 @@
-namespace factor
-{
+namespace factor {
 
 #define VM_C_API extern "C" __attribute__((visibility("default")))
 #define FACTOR_OS_STRING "macosx"
-#define NULL_DLL "libfactor.dylib"
 
-void init_signals();
 void early_init();
 
-const char *vm_executable_path();
-const char *default_image_path();
+const charvm_executable_path();
+const chardefault_image_path();
 
-void c_to_factor_toplevel(cell quot);
+#define UAP_STACK_POINTER(ucontext) (((ucontext_t*)ucontext)->uc_stack.ss_sp)
 
-#define UAP_STACK_POINTER(ucontext) (((ucontext_t *)ucontext)->uc_stack.ss_sp)
+#define CODE_TO_FUNCTION_POINTER(code) (void)0
+#define CODE_TO_FUNCTION_POINTER_CALLBACK(vm, code) (void)0
+#define FUNCTION_CODE_POINTER(ptr) ptr
+#define FUNCTION_TOC_POINTER(ptr) ptr
 
 }