[KLIB tool] Fix failing test on dumping c-interop signatures
This commit is contained in:
committed by
Space Team
parent
38524f6b15
commit
a3bfe58415
@@ -3,10 +3,15 @@ language = C
|
||||
package = just_cinterop_c
|
||||
---
|
||||
typedef struct my_struct {
|
||||
signed char c;
|
||||
int i;
|
||||
long l;
|
||||
short s;
|
||||
} my_struct_t;
|
||||
|
||||
static signed char do_signed_char(signed char x) {
|
||||
return x;
|
||||
}
|
||||
|
||||
static short do_short(short x) {
|
||||
return x;
|
||||
}
|
||||
@@ -15,14 +20,6 @@ static int do_int(int x) {
|
||||
return x;
|
||||
}
|
||||
|
||||
static long do_long(long x) {
|
||||
return x;
|
||||
}
|
||||
|
||||
static long long do_long_long(long long x) {
|
||||
return x;
|
||||
}
|
||||
|
||||
static void* do_void_ptr(void* x) {
|
||||
return x;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user