This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Is it OK to pass an SCM through (void *)?


Marius Vollmer writes:
 > Maciej Stachowiak <mstachow@mit.edu> writes:
 > 
 > > One problem here is that the object will stay protected even if you
 > > disconnect that signal handler, or even destroy the widget it is
 > > associated with, unless you do some extra tracking so you can
 > > unprotect it. This will result in memory leaks.
 > 
 > You might want to look into gtk_signal_connect_full.  This is what
 > guile-gtk uses to get the bookkeeping done.  Please ask if you want to
 > know more.

is there a difference between _full and _interp?  i could only find the
latter in the guile-gtk-0.11 distribution.

thi