Unable to read data from fixed size C array in Swift with out of bounds data

前端 未结 0 740
一个人的身影
一个人的身影 2021-01-31 08:15

I am working with a library written in C in my Swift project. I have a fixed size C array, of size 1, in a struct

typedef struct
{
    ...
    my_type arr[1];
} m         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题