]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/os-macosx.h
Initial import
[factor.git] / vm / os-macosx.h
index 5d771d26dfb265c7d3db4a1aaf1106452a50bbce..abd0bf5305ff58cd85c596d89569c98d39c11c5e 100644 (file)
@@ -1,4 +1,13 @@
+#define DLLEXPORT __attribute__((visibility("default")))
 #define FACTOR_OS_STRING "macosx"
+#define NULL_DLL "libfactor.dylib"
+#define UNKNOWN_TYPE_P(file) ((file)->d_type == DT_UNKNOWN)
+#define DIRECTORY_P(file) ((file)->d_type == DT_DIR)
+
 void init_signals(void);
 void early_init(void);
+
+const char *vm_executable_path(void);
 const char *default_image_path(void);
+
+DLLEXPORT void c_to_factor_toplevel(CELL quot);