Cstring is essentially a pointer whereas your C struct contains a fixed size array. Try with
struct C
a::Cint
b::Cdouble
c::NTuple{128, Cchar}
end
Cstring is essentially a pointer whereas your C struct contains a fixed size array. Try with
struct C
a::Cint
b::Cdouble
c::NTuple{128, Cchar}
end