Posts

Post not yet marked as solved
0 Replies
136 Views
I have a app for enterprise distribute, and used wechat shared,Wechat need universal link,Does universal line support enterprise project
Posted Last updated
.
Post not yet marked as solved
0 Replies
471 Views
?Hello, i working to call c function in Swift and i use @_silgen_name to call c variadic functionthis is my codetest.h void swiftValist(va_list inputs); test.c void swiftValist(va_list inputs) { vprintf("%s\n", inputs); } some.swift @_silgen_name("swiftValist") internal func swiftValistTest1(_ inputs: CVaListPointer!)when i call swiftValistTest1(getVaList(["11111111", "22222"])) and there are crash byThread 1: EXC_BAD_ACCESS (code=EXC_I386_GPFLT)does there @_silgen_name cannot call c variadic function?thank everyone to help my to fix this problemyou can download crash code from github https://github.com/HanCongYang/SwiftCallCVaribleCrashCode
Posted Last updated
.