[KLIB tool] Fix failing test on dumping c-interop signatures

This commit is contained in:
Dmitriy Dolovov
2023-11-02 12:06:46 +01:00
committed by Space Team
parent 38524f6b15
commit a3bfe58415
3 changed files with 21 additions and 20 deletions
@@ -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;
}