put alien.factor, ffi_test.* back

flac
kusumotonorio 2020-01-19 22:30:48 +09:00 committed by Steve Ayerhart
parent 20d44c8c14
commit 82d8b8409e
No known key found for this signature in database
GPG Key ID: 5BFD39C5359E967D
2 changed files with 0 additions and 42 deletions

View 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);

View 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);