]> gitweb.factorcode.org Git - factor.git/commitdiff
put alien.factor, ffi_test.* back
authorkusumotonorio <47816570+kusumotonorio@users.noreply.github.com>
Sun, 19 Jan 2020 13:30:48 +0000 (22:30 +0900)
committerkusumotonorio <47816570+kusumotonorio@users.noreply.github.com>
Sun, 19 Jan 2020 13:30:48 +0000 (22:30 +0900)
vm/ffi_test.c
vm/ffi_test.h

index f2dbd2bd5083e351e862fb3f70ba30bc441f8fde..1927a8d9881ee7e5df5b009f44d37e7ed96301eb 100644 (file)
@@ -357,27 +357,6 @@ double ffi_test_65(int n, ...) {
     return sum;
 }
 
-unsigned long ffi_test_66(unsigned long a, unsigned long b, unsigned long c,
-                          struct test_struct_66 d, struct test_struct_66 e) {
-    unsigned long x;
-    x = a + b + c + d.mem1 + d.mem2 + e.mem1 + e.mem2;
-    return x;
-}
-
-unsigned long ffi_test_67(unsigned long a, unsigned long b, unsigned long c,
-                          struct test_struct_66 d, struct test_struct_66 e,
-                          unsigned long f) {
-    unsigned long x;
-    x = a + b + c + d.mem1 + d.mem2 + e.mem1 + e.mem2 + f*2;
-    return x;
-}
-
-unsigned long ffi_test_68(unsigned long a, unsigned long b, unsigned long c,
-                          struct test_struct_66 d, struct test_struct_68 e, struct test_struct_66 f) {
-    unsigned long x;
-    x = a + b + c + d.mem1 + d.mem2 + e.mem1 + e.mem2 + e.mem3 + f.mem1 + f.mem2;
-       return x;
-}
 
 void* bug1021_test_1(void* x, int y) {
   return (void*)(y * y + (size_t)x);
index 97ee793302670c7397e9644106a63d90c8c5cbd3..1c7ae7ddb31df845984f0de68dc1f6a7622058b4 100644 (file)
@@ -232,27 +232,6 @@ FACTOR_EXPORT struct ulonglong_pair ffi_test_63(void);
 FACTOR_EXPORT int ffi_test_64(int n, ...);
 FACTOR_EXPORT double ffi_test_65(int n, ...);
 
-
-struct test_struct_66 {
-  unsigned long mem1;
-  unsigned long mem2;
-};
-
-struct test_struct_68 {
-  unsigned long mem1;
-  unsigned long mem2;
-  unsigned long mem3;  
-};
-
-FACTOR_EXPORT unsigned long ffi_test_66(unsigned long a, unsigned long b, unsigned long c,
-                                        struct test_struct_66 d, struct test_struct_66 e);
-
-FACTOR_EXPORT unsigned long ffi_test_67(unsigned long a, unsigned long b, unsigned long c,
-                                        struct test_struct_66 d, struct test_struct_66 e, unsigned long f);
-
-FACTOR_EXPORT unsigned long ffi_test_68(unsigned long a, unsigned long b, unsigned long c,
-                                        struct test_struct_66 d, struct test_struct_68 e, struct test_struct_66 f);
-
 FACTOR_EXPORT void* bug1021_test_1(void* x, int y);
 FACTOR_EXPORT int bug1021_test_2(int x, char* y, void *z);
 FACTOR_EXPORT void* bug1021_test_3(int x);