[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;
|
||||
}
|
||||
|
||||
Vendored
+8
-6
@@ -1,9 +1,8 @@
|
||||
just_cinterop_c/do_int|1434322103267605694[100]
|
||||
just_cinterop_c/do_long_long|5431512018338225197[100]
|
||||
just_cinterop_c/do_long|3843623137338116199[100]
|
||||
just_cinterop_c/do_my_struct_t_ptr|-1042971359980028537[100]
|
||||
just_cinterop_c/do_my_struct_t|-3313067324655591103[100]
|
||||
just_cinterop_c/do_short|3714564778502624739[100]
|
||||
just_cinterop_c/do_signed_char|-3061129409597428672[100]
|
||||
just_cinterop_c/do_void_ptr|6411325604211317372[100]
|
||||
just_cinterop_c/my_struct.<init>|-4957092806283426321[100]
|
||||
just_cinterop_c/my_struct.Companion.<init>|-5645683436151566731[100]
|
||||
@@ -15,17 +14,20 @@ just_cinterop_c/my_struct.Companion.size.<get-size>|-8255337774232345969[100]
|
||||
just_cinterop_c/my_struct.Companion.size|-6253659984320132064[100]
|
||||
just_cinterop_c/my_struct.Companion.toString|-1522858123163872138[100]
|
||||
just_cinterop_c/my_struct.Companion|null[100]
|
||||
just_cinterop_c/my_struct.c.<get-c>|2368736057102379596[100]
|
||||
just_cinterop_c/my_struct.c.<set-c>|2630334304232045291[100]
|
||||
just_cinterop_c/my_struct.c|-4416962153448040627[100]
|
||||
just_cinterop_c/my_struct.equals|4638265728071529943[100]
|
||||
just_cinterop_c/my_struct.hashCode|3409210261493131192[100]
|
||||
just_cinterop_c/my_struct.i.<get-i>|6945482638966853621[100]
|
||||
just_cinterop_c/my_struct.i.<set-i>|1223530399758590178[100]
|
||||
just_cinterop_c/my_struct.i|5014384761142332495[100]
|
||||
just_cinterop_c/my_struct.l.<get-l>|3795442967620585[100]
|
||||
just_cinterop_c/my_struct.l.<set-l>|-5446416953361928077[100]
|
||||
just_cinterop_c/my_struct.l|3307215303229595169[100]
|
||||
just_cinterop_c/my_struct.rawPtr.<get-rawPtr>|7179665485603104315[100]
|
||||
just_cinterop_c/my_struct.rawPtr.<set-rawPtr>|-5421930354690237067[100]
|
||||
just_cinterop_c/my_struct.rawPtr|-9029326424296896258[100]
|
||||
just_cinterop_c/my_struct.s.<get-s>|-1662172381559511151[100]
|
||||
just_cinterop_c/my_struct.s.<set-s>|2278768972836500772[100]
|
||||
just_cinterop_c/my_struct.s|7217541905509134881[100]
|
||||
just_cinterop_c/my_struct.toString|-1522858123163872138[100]
|
||||
just_cinterop_c/my_struct_t|null[100]
|
||||
just_cinterop_c/my_struct|null[100]
|
||||
just_cinterop_c/my_struct|null[100]
|
||||
|
||||
Vendored
+7
-5
@@ -1,9 +1,8 @@
|
||||
just_cinterop_c/do_int|do_int(kotlin.Int){}[100]
|
||||
just_cinterop_c/do_long_long|do_long_long(kotlin.Long){}[100]
|
||||
just_cinterop_c/do_long|do_long(kotlin.Long){}[100]
|
||||
just_cinterop_c/do_my_struct_t_ptr|do_my_struct_t_ptr(kotlinx.cinterop.CValuesRef<just_cinterop_c.my_struct>?){}[100]
|
||||
just_cinterop_c/do_my_struct_t|do_my_struct_t(kotlinx.cinterop.CValue<just_cinterop_c.my_struct>){}[100]
|
||||
just_cinterop_c/do_short|do_short(kotlin.Short){}[100]
|
||||
just_cinterop_c/do_signed_char|do_signed_char(kotlin.Byte){}[100]
|
||||
just_cinterop_c/do_void_ptr|do_void_ptr(kotlinx.cinterop.CValuesRef<*>?){}[100]
|
||||
just_cinterop_c/my_struct.<init>|<init>(kotlin.native.internal.NativePtr){}[100]
|
||||
just_cinterop_c/my_struct.Companion.<init>|<init>(){}[100]
|
||||
@@ -15,17 +14,20 @@ just_cinterop_c/my_struct.Companion.size.<get-size>|<get-size>(){}[100]
|
||||
just_cinterop_c/my_struct.Companion.size|{}size[100]
|
||||
just_cinterop_c/my_struct.Companion.toString|toString(){}[100]
|
||||
just_cinterop_c/my_struct.Companion|null[100]
|
||||
just_cinterop_c/my_struct.c.<get-c>|<get-c>(){}[100]
|
||||
just_cinterop_c/my_struct.c.<set-c>|<set-c>(kotlin.Byte){}[100]
|
||||
just_cinterop_c/my_struct.c|{}c[100]
|
||||
just_cinterop_c/my_struct.equals|equals(kotlin.Any?){}[100]
|
||||
just_cinterop_c/my_struct.hashCode|hashCode(){}[100]
|
||||
just_cinterop_c/my_struct.i.<get-i>|<get-i>(){}[100]
|
||||
just_cinterop_c/my_struct.i.<set-i>|<set-i>(kotlin.Int){}[100]
|
||||
just_cinterop_c/my_struct.i|{}i[100]
|
||||
just_cinterop_c/my_struct.l.<get-l>|<get-l>(){}[100]
|
||||
just_cinterop_c/my_struct.l.<set-l>|<set-l>(kotlin.Long){}[100]
|
||||
just_cinterop_c/my_struct.l|{}l[100]
|
||||
just_cinterop_c/my_struct.rawPtr.<get-rawPtr>|<get-rawPtr>(){}[100]
|
||||
just_cinterop_c/my_struct.rawPtr.<set-rawPtr>|<set-rawPtr>(kotlin.native.internal.NativePtr){}[100]
|
||||
just_cinterop_c/my_struct.rawPtr|{}rawPtr[100]
|
||||
just_cinterop_c/my_struct.s.<get-s>|<get-s>(){}[100]
|
||||
just_cinterop_c/my_struct.s.<set-s>|<set-s>(kotlin.Short){}[100]
|
||||
just_cinterop_c/my_struct.s|{}s[100]
|
||||
just_cinterop_c/my_struct.toString|toString(){}[100]
|
||||
just_cinterop_c/my_struct_t|null[100]
|
||||
just_cinterop_c/my_struct|null[100]
|
||||
|
||||
Reference in New Issue
Block a user