diff options
author | Ludovic Courtès <ludo@gnu.org> | 2009-01-18 15:33:37 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2009-01-18 16:02:04 +0100 |
commit | 2a77682322b3d466ac16ce4bd1244d29085a3555 (patch) | |
tree | 6dba438ea995f5b4372af882cb6758a239f15b62 /libguile/hooks.c | |
parent | 33ed7a1644eda55a8dc479acf26418631cb937f9 (diff) | |
download | guile-2a77682322b3d466ac16ce4bd1244d29085a3555.tar.gz |
Use `scm_gc malloc_pointerless ()' in `scm_i allocate_string_pointers ()'.
* libguile/dynl.c (free_string_pointers): Remove.
(scm_dynamic_args_call): Remove reference to `free_string_pointers ()'
and remove dynwind.
* libguile/posix.c (free_string_pointers): Remove.
(scm_execl, scm_execlp, scm_execle, scm_environ): Remove references
to `free_string_pointers ()'.
* libguile/simpos.c (free_string_pointers): Remove.
(scm_system_star): Remove reference to `free_string_pointers ()',
remove enclosing dynwind.
* libguile/strings.c (scm_i_allocate_string_pointers): Use
`scm_gc_malloc_pointerless ()' and `scm_gc_malloc ()'
instead of `scm_malloc ()' and `scm_to_locale_string ()',
so that the result is automatically GC'd when no longer
referenced. Remove unneeded dynwind.
(scm_i_free_string_pointers): Remove.
* libguile/strings.h (scm_i_free_string_pointers): Remove declaration.
Diffstat (limited to 'libguile/hooks.c')
0 files changed, 0 insertions, 0 deletions