mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-01 12:20:26 +02:00
33 lines
1.2 KiB
Text
33 lines
1.2 KiB
Text
@page
|
|
@node Deprecated
|
|
@chapter Deprecated
|
|
|
|
The features and functions described in this chapter are considered
|
|
obsolete and should not be used by new programs. They're retained for
|
|
compatibility with past versions of Guile.
|
|
|
|
@deffn {Scheme Procedure} substring-move-left! str1 start1 end1 str2 start2
|
|
@deffnx {Scheme Procedure} substring-move-right! str1 start1 end1 str2 start2
|
|
These functions are aliases for @code{substring-move!} and calls to
|
|
them can simply be replaced by @code{substring-move!} (@pxref{String
|
|
Modification}.)
|
|
|
|
In the past, if @var{str1} and @var{str2} were the same string, it was
|
|
necessary to call @code{substring-move-left!} if the move was to the
|
|
left (@math{@var{start2} < @var{start1}}), or call
|
|
@code{substring-move-right!} if the move was to the right
|
|
(@math{@var{start2} > @var{start1}}). @code{substring-move!} is now
|
|
able to do both.
|
|
@end deffn
|
|
|
|
@deftypefn {C Function} void scm_remember (SCM *ptr)
|
|
Create a reference to the object at @var{ptr}, so it's certain to be
|
|
present on the stack and hence won't be freed by the garbage
|
|
collector.
|
|
|
|
This function has been superceded by @code{scm_remember_upto_here_1}
|
|
(which takes an object, not a pointer to one), @xref{Remembering
|
|
During Operations}.
|
|
@end deftypefn
|
|
|
|
|