Hi, I have difficulties with the correct usage of the function jl_ptr_to_array
. Particularly, there is no explanation in the documentation on embedding, neighter in the source code on how to construct the third argument to this function, dims
.
So, the function has the following signature:
jl_array_t *jl_ptr_to_array(jl_value_t *atype, void *data,
jl_value_t *_dims, int own_buffer)
By miracle, I was able to find somewhere on the internet how to construct atype
(array type), but I cannot understand how to construct _dims
? And cannot find it.