mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-13 23:20:32 +02:00
(Conversion to/from C): Braces {} around char* return.
This commit is contained in:
parent
458dd501aa
commit
4846ae2c96
1 changed files with 2 additions and 2 deletions
|
@ -3610,8 +3610,8 @@ immediately after creating the Scheme string. In certain cases, Guile
|
||||||
can then use @var{str} directly as its internal representation.
|
can then use @var{str} directly as its internal representation.
|
||||||
@end deftypefn
|
@end deftypefn
|
||||||
|
|
||||||
@deftypefn {C Function} char *scm_to_locale_string (SCM str)
|
@deftypefn {C Function} {char *} scm_to_locale_string (SCM str)
|
||||||
@deftypefnx {C Function} char *scm_to_locale_stringn (SCM str, size_t *lenp)
|
@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
|
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}
|
contents as @var{str}. The C string must be freed with @code{free}
|
||||||
eventually, maybe by using @code{scm_frame_free}, @xref{Frames}.
|
eventually, maybe by using @code{scm_frame_free}, @xref{Frames}.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue