Hi Steven, I tried that before, I know it is possible, but if the size is unknown to julia, it must be returned as another variable, which makes coding more difficult if many of such return arrays are needed.
That is why I think it would be interesting to see the julia-api side of it, to see if this can be avoided. (I prefer to write a bit more of C code but make the ccall clearer in julia) About my previous question, I am still struggling to create a custom type with julia's C API and fill it in, to pass it back then. Has anyone done this in such scenario before? I wonder if the necessary symbols are already exported for 3rd party use. Cheers.