(File System): In stat:dev and stat:mode, clarify that both are numbers.
[bpt/guile.git] / doc / ref / deprecated.texi
1 @page
2 @node Deprecated
3 @chapter Deprecated
4
5 The features and functions described in this chapter are considered
6 obsolete and should not be used by new programs. They're retained for
7 compatibility with past versions of Guile.
8
9 @deffn {Scheme Procedure} substring-move-left! str1 start1 end1 str2 start2
10 @deffnx {Scheme Procedure} substring-move-right! str1 start1 end1 str2 start2
11 These functions are aliases for @code{substring-move!} and calls to
12 them can simply be replaced by @code{substring-move!} (@pxref{String
13 Modification}.)
14
15 In the past, if @var{str1} and @var{str2} were the same string, it was
16 necessary to call @code{substring-move-left!} if the move was to the
17 left (@math{@var{start2} < @var{start1}}), or call
18 @code{substring-move-right!} if the move was to the right
19 (@math{@var{start2} > @var{start1}}). @code{substring-move!} is now
20 able to do both.
21 @end deffn
22
23 @deftypefn {C Function} void scm_remember (SCM *ptr)
24 Create a reference to the object at @var{ptr}, so it's certain to be
25 present on the stack and hence won't be freed by the garbage
26 collector.
27
28 This function has been superceded by @code{scm_remember_upto_here_1}
29 (which takes an object, not a pointer to one), @xref{Remembering
30 During Operations}.
31 @end deftypefn
32
33