mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-10 14:00:21 +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.
|
||||
@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}.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue