Skip to content

Commit 7325fe6

Browse files
author
Michael W. Hudson
committed
Backport of 1.26:
Fix the problem addressed by patch [ 819012 ] Fix for former/latter confusion in Extending documentation although not by using supplied patch. Though this backport actually includes the fix that caused the problem in the first place!
1 parent d252c73 commit 7325fe6

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

Doc/ext/extending.tex

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1174,14 +1174,12 @@ \section{Building Arbitrary Values
11741174
\section{Reference Counts
11751175
\label{refcounts}}
11761176

1177-
In languages like C or \Cpp, the programmer is responsible for
1178-
dynamic allocation and deallocation of memory on the heap. In C,
1179-
this is done using the functions \cfunction{malloc()} and
1180-
\cfunction{free()}. In \Cpp, the operators \keyword{new} and
1181-
\keyword{delete} are used with essentially the same meaning; they are
1182-
actually implemented using \cfunction{malloc()} and
1183-
\cfunction{free()}, so we'll restrict the following discussion to the
1184-
latter.
1177+
In languages like C or \Cpp, the programmer is responsible for dynamic
1178+
allocation and deallocation of memory on the heap. In C, this is done
1179+
using the functions \cfunction{malloc()} and \cfunction{free()}. In
1180+
\Cpp, the operators \keyword{new} and \keyword{delete} are used with
1181+
essentially the same meaning so we'll restrict the following
1182+
discussion to the C case.
11851183

11861184
Every block of memory allocated with \cfunction{malloc()} should
11871185
eventually be returned to the pool of available memory by exactly one

0 commit comments

Comments
 (0)