From 4846ae2c96fd6be234d49a4cb0e0174f6c1c22d2 Mon Sep 17 00:00:00 2001 From: Kevin Ryde Date: Sat, 25 Sep 2004 22:32:24 +0000 Subject: [PATCH] (Conversion to/from C): Braces {} around char* return. --- doc/ref/api-data.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/ref/api-data.texi b/doc/ref/api-data.texi index 08dab67d7..a86320870 100755 --- a/doc/ref/api-data.texi +++ b/doc/ref/api-data.texi @@ -3610,8 +3610,8 @@ immediately after creating the Scheme string. In certain cases, Guile can then use @var{str} directly as its internal representation. @end deftypefn -@deftypefn {C Function} char *scm_to_locale_string (SCM str) -@deftypefnx {C Function} char *scm_to_locale_stringn (SCM str, size_t *lenp) +@deftypefn {C Function} {char *} scm_to_locale_string (SCM str) +@deftypefnx {C Function} {char *} scm_to_locale_stringn (SCM str, size_t *lenp) Returns a C string in the current locale encoding with the same contents as @var{str}. The C string must be freed with @code{free} eventually, maybe by using @code{scm_frame_free}, @xref{Frames}.