Hi, Mike Gran <spk...@yahoo.com> writes:
> On Tue, 2009-09-01 at 02:14 +0200, Ludovic Courtès wrote: [...] >> The `scm_take_' functions for strings/symbols/bytevectors are now >> essentially aliases to the corresponding `scm_from_' because we cannot >> advantageously reuse the provided storage. >> >> Should these functions be deprecated or discouraged? >> > > codesearch.google.com says that scm_take_ isn't often used by other > projects, but, it is used by lilypond. I think that's reason enough to > leave it in. I'd vote for keeping them and adjusting the docs to say > something like > > Like `scm_from_locale_string' and `scm_from_locale_stringn', > respectively, but also immediately frees STR after creating > the Guile string. > > Or something like that. Of course, I meant "keep them but possibly moved into {discouraged,deprecated}.c". Your doc suggestion looks good to me also. Thanks, Ludo'.