Hello, julia structs is the same as C structs or not? i.e.:
struct Test
x::Int
y::Int
end
will this be the same as this?
struct {
int x;
inx y;
}
Hello, julia structs is the same as C structs or not? i.e.:
struct Test
x::Int
y::Int
end
will this be the same as this?
struct {
int x;
inx y;
}
No, use Cint
instead.
i.e.:
struct Test
x::Cint
y::Cint
end
for me the main thing is that no additional fields are added to the struct after compilation.