I have a mutable struct, E.g.
mutable struct MyExampleStruct
a::Cdouble
b::Cdouble
end
which I wish to create with uninitialised fields. I don’t want to use an inner constructor to achieve this. This will be passed to Fortran code using ccall
. Does anyone know how I can accomplish this? Thanks.