Hi,
Is there a risk that the data pointed to by the pointer returned from cfunction
will be garbage collected, or can it be stored on the C side without precautions?
Hi,
Is there a risk that the data pointed to by the pointer returned from cfunction
will be garbage collected, or can it be stored on the C side without precautions?
No, the function pointer will not be free’d.