<div dir="ltr">What is the right way to prevent a Scheme object referenced by a C object from being garbage collected?<div><br></div><div style>For example, I have a structure:</div><div style><br></div><div style>struct Callback {</div>
<div style>      ___SCMOBJ cbfn;</div><div style>};</div><div style><br></div><div style>where `cbfn' is a procedure defined in Scheme. I want it to be garbage collected only after the Callback object itself is destroyed.</div>
<div style><br></div><div style>Thanks,</div><div style><br></div><div style>--Vijay</div><div style><br></div></div>