chiark
/
gitweb
/
~mdw
/
sod
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
98da932
)
doc/concepts.tex: Fix copy-and-paste fail in `Destruction' section.
author
Mark Wooding
<mdw@distorted.org.uk>
Wed, 2 Aug 2017 09:50:40 +0000
(10:50 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Fri, 8 Jun 2018 18:58:40 +0000
(19:58 +0100)
doc/concepts.tex
patch
|
blob
|
blame
|
history
diff --git
a/doc/concepts.tex
b/doc/concepts.tex
index 7702f1394659330889ba4be8c67f62083ef0dce5..759153b5bc646007417372a3546577914c3ae667 100644
(file)
--- a/
doc/concepts.tex
+++ b/
doc/concepts.tex
@@
-840,9
+840,9
@@
allocated from the standard @|malloc| heap is done using the
\descref{sod_destroy}[function]{fun}.
\subsubsection{Teardown}
\descref{sod_destroy}[function]{fun}.
\subsubsection{Teardown}
-Details of
initializatio
n are necessarily class-specific, but typically it
-involves
setting the instance's slots to appropriate values, and possibly
-
linking it into some larger data structure to keep track of it
.
+Details of
teardow
n are necessarily class-specific, but typically it
+involves
releasing resources held by the instance, and disentangling it from
+
any data structures it might be linked into
.
Teardown is performed by sending the instance the @|teardown| message,
defined by the @|SodObject| class. The message returns an integer, used as a
Teardown is performed by sending the instance the @|teardown| message,
defined by the @|SodObject| class. The message returns an integer, used as a