blob: 2f6f09fa5533a46b035140cedb6815b8bb0a421c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
@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
|