mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-02 21:10:27 +02:00
Merge remote-tracking branch 'origin/stable-2.0'
Conflicts: libguile/deprecated.c libguile/ports.c libguile/ports.h libguile/strports.c test-suite/tests/cse.test
This commit is contained in:
commit
0dd7c54075
26 changed files with 343 additions and 158 deletions
|
@ -166,6 +166,21 @@ returned. New ports will have this default behavior when they are
|
|||
created.
|
||||
@end deffn
|
||||
|
||||
@deffn {Scheme Variable} %default-port-conversion-strategy
|
||||
The fluid that defines the conversion strategy for newly created ports,
|
||||
and for other conversion routines such as @code{scm_to_stringn},
|
||||
@code{scm_from_stringn}, @code{string->pointer}, and
|
||||
@code{pointer->string}.
|
||||
|
||||
Its value must be one of the symbols described above, with the same
|
||||
semantics: @code{'error}, @code{'substitute}, or @code{'escape}.
|
||||
|
||||
When Guile starts, its value is @code{'substitute}.
|
||||
|
||||
Note that @code{(set-port-conversion-strategy! #f @var{sym})} is
|
||||
equivalent to @code{(fluid-set! %default-port-conversion-strategy
|
||||
@var{sym})}.
|
||||
@end deffn
|
||||
|
||||
|
||||
@node Reading
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue