示例工程 25-c-interop
25-c-interop/expected/stdout.txt
[25.1] c_add(20, 22) = 42
[25.2] UTF-8 字节数 = 6
[25.2] ASCII 字节数 = 3
[25.3] c_fill = [7, 7, 7, 7]
[25.4] Point2C = (3, 4),sum = 7
[25.4] MemoryLayout<CPoint> = 8/8/4
[25.5] @convention(c) 回调 = 42
[25.6] @_cdecl 导出 = 42
[25.7] MemoryLayout<String> = 16 字节
[25.7] MemoryLayout<UnsafePointer<CChar>> = 8 字节