On Tue, 2011-05-10 at 23:39 +0200, R. Mattes wrote:
> > Even more surprising, I have looked into what is 
> > happening with the scm_take_from_locale_string/n calls. In
> principle 
> > guile should be freeing the passed string when it is finished with 
> > it. 
> 
> What makes ou belive this? The function signature in my header files
> is:
>  SCM_API SCM scm_from_locale_string (const char *str);
> Why would you expext a 'const char*' block to be freed?

you are looking at the wrong function here - I refer to scm_take_... the
"take" variant is supposed to free the string (it gives scheme the
opportunigy to re-use the string for its own storage of the string).

Richard



_______________________________________________
Denemo-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/denemo-devel

Reply via email to