]> gitweb.factorcode.org Git - factor.git/commitdiff
Add dllexports 0.70 factor-0-70
authorMackenzie Straight <eizneckam@gmail.com>
Sat, 18 Dec 2004 05:41:31 +0000 (05:41 +0000)
committerMackenzie Straight <eizneckam@gmail.com>
Sat, 18 Dec 2004 05:41:31 +0000 (05:41 +0000)
native/bignum.h
native/boolean.h
native/ffi.h
native/fixnum.h
native/string.h

index f54ce1c6c3f8385adcf734fe1d6e920e5e7c7df2..4bbc7f21e91b2defcc523e09f052bcbe69266fe5 100644 (file)
@@ -9,10 +9,10 @@ INLINE F_ARRAY* untag_bignum(CELL tagged)
 }
 
 F_FIXNUM to_integer(CELL x);
-void box_integer(F_FIXNUM integer);
-void box_cell(CELL cell);
+DLLEXPORT void box_integer(F_FIXNUM integer);
+DLLEXPORT void box_cell(CELL cell);
 DLLEXPORT F_FIXNUM unbox_integer(void);
-CELL unbox_cell(void);
+DLLEXPORT CELL unbox_cell(void);
 F_ARRAY* to_bignum(CELL tagged);
 void primitive_to_bignum(void);
 void primitive_bignum_eq(void);
index f2be6292adc8952269b9086c7926fe26a8299c33..24452e8155b53fd6bd84b645a8a77c85adf5fe0d 100644 (file)
@@ -8,5 +8,5 @@ INLINE bool untag_boolean(CELL tagged)
        return (tagged == F ? false : true);
 }
 
-void box_boolean(bool value);
-bool unbox_boolean(void);
+DLLEXPORT void box_boolean(bool value);
+DLLEXPORT bool unbox_boolean(void);
index 32a95cf9cd7a4626e48870b697ded6556b53a85e..1a2d11f86f48abf984d1bbf50cee2bfb1a8ec80e 100644 (file)
@@ -24,7 +24,8 @@ void primitive_dlsym_self(void);
 void primitive_dlclose(void);
 void primitive_alien(void);
 void primitive_local_alien(void);
-CELL unbox_alien(void);
+DLLEXPORT CELL unbox_alien(void);
+DLLEXPORT void box_alien(CELL ptr);
 void primitive_alien_cell(void);
 void primitive_set_alien_cell(void);
 void primitive_alien_4(void);
index 903ed07f085c97bd90383ded1ad5301fb0f2a5a8..d91602f0967614dabd6c957a6bf03e5dcd2f5e06 100644 (file)
@@ -28,7 +28,7 @@ void primitive_fixnum_lesseq(void);
 void primitive_fixnum_greater(void);
 void primitive_fixnum_greatereq(void);
 void primitive_fixnum_not(void);
-void box_signed_1(signed char integer);
-void box_signed_2(signed short integer);
-signed char unbox_signed_1(void);
-signed short unbox_signed_2(void);
+DLLEXPORT void box_signed_1(signed char integer);
+DLLEXPORT void box_signed_2(signed short integer);
+DLLEXPORT signed char unbox_signed_1(void);
+DLLEXPORT signed short unbox_signed_2(void);
index e9f28d50d5b846b02298afac562ed263d049d27c..90e6f2dd8dc043fbc8bca9f63618e35eb3ac84de 100644 (file)
@@ -19,9 +19,9 @@ void rehash_string(F_STRING* str);
 F_STRING* grow_string(F_STRING* string, F_FIXNUM capacity, uint16_t fill);
 BYTE* to_c_string(F_STRING* s);
 BYTE* to_c_string_unchecked(F_STRING* s);
-void box_c_string(const BYTE* c_string);
+DLLEXPORT void box_c_string(const BYTE* c_string);
 F_STRING* from_c_string(const BYTE* c_string);
-BYTE* unbox_c_string(void);
+DLLEXPORT BYTE* unbox_c_string(void);
 
 #define SREF(string,index) ((CELL)string + sizeof(F_STRING) + index * CHARS)