]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/ffi_test.c
audio.engine.test: cleanup using
[factor.git] / vm / ffi_test.c
index f2dbd2bd5083e351e862fb3f70ba30bc441f8fde..7e927b9d27261029647f016d728b987dbffe2430 100644 (file)
@@ -376,9 +376,23 @@ 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;
+    return x;
+}
+
+unsigned long ffi_test_69(unsigned long a, unsigned long b, unsigned long c,
+                          struct test_struct_66 d, struct test_struct_69 e, struct test_struct_66 f) {
+    unsigned long x;
+    x = a + b + c + d.mem1 + d.mem2 + (long)e.mem1 + e.mem2 + e.mem3 + f.mem1 + f.mem2;
+    return x;
 }
 
+unsigned long ffi_test_70(struct test_struct_68 a, struct test_struct_68 b, struct test_struct_66 c) { 
+    unsigned long x;
+    x = a.mem1 + a.mem2 + a.mem3 + b.mem1 + b.mem2 + b.mem3 + c.mem1 + c.mem2;
+    return x;
+}
+
+
 void* bug1021_test_1(void* x, int y) {
   return (void*)(y * y + (size_t)x);
 }