Cfunction result garbage collected?

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?

1 Like

No, the function pointer will not be free’d.