On Tue, 2006-05-30 at 11:22 +0200, Joris van der Hoeven wrote: > Hi all, > > I noticed a strange problem with the memory allocation of smobs and > I fail to understand whether I am doing something wrong or whether > this is a bug in Guile. > > Consider the (C++) smob code attached below to this message. > All memory allocations are done from within C++, so the free_mysmob > function returns 0. Now consider the following session:
Since you seem to test from the REPL: do you have value history enabled by accident (something like "(use-modules (ice-9 history))" in your guile init file)? Anything printed will be kept bound to $1, $2 ... $n. HTH Ralf Mattes > > > _______________________________________________ > Guile-user mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/guile-user _______________________________________________ Guile-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/guile-user
