This is more of a curiousity question than an actual use case. Is there any 
way to have Julia manage heap allocated memory that is initialized by a C 
function? By this, I mean suppose I had a function:

void foo(void *x) {
     ...initize some structure in C here from the memory passed in by x...
}

In C, I would malloc, then pass in the memory to the initialization. Is 
there any way to do this in Julia, but have Julia manage the memory?

Reply via email to