~mdw
/
sod
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doc/misc.tex: Clarify that `augment-options' is in `sod-frontend'.
[sod]
/
doc
/
runtime.tex
diff --git
a/doc/runtime.tex
b/doc/runtime.tex
index
4f6d277
..
83acd31
100644
(file)
--- a/
doc/runtime.tex
+++ b/
doc/runtime.tex
@@
-43,7
+43,7
@@
calling functions which make use of keyword arguments; see
The header file defines two simple structure types, and a function type which
will be described later.
The header file defines two simple structure types, and a function type which
will be described later.
-\begin{describe}{ty
pe
}[struct kwval]
+\begin{describe}{ty}[struct kwval]
{struct kwval \{ \\ \ind
const char *kw; \\
const void *val; \-\\
{struct kwval \{ \\ \ind
const char *kw; \\
const void *val; \-\\
@@
-56,7
+56,7
@@
will be described later.
the actual argument type.)
\end{describe}
the actual argument type.)
\end{describe}
-\begin{describe}{ty
pe
}[struct kwtab]
+\begin{describe}{ty}[struct kwtab]
{struct kwtab \{ \\ \ind
const struct kwval *v; \\
size_t n; \-\\
{struct kwtab \{ \\ \ind
const struct kwval *v; \\
size_t n; \-\\
@@
-528,7
+528,7
@@
call @|kw_unknown|.
message to the standard error stream and calls \man{abort}{3}.
\end{describe}
message to the standard error stream and calls \man{abort}{3}.
\end{describe}
-\begin{describe}{ty
pe
}[kw_unkhookfn]
+\begin{describe}{ty}[kw_unkhookfn]
{typedef void kw_unkhookfn(const char *@<set>, const char *@<kw>);}
The @|kw_unkhookfn| type is the type of unknown-keyword handler functions.
{typedef void kw_unkhookfn(const char *@<set>, const char *@<kw>);}
The @|kw_unkhookfn| type is the type of unknown-keyword handler functions.
@@
-824,6
+824,10
@@
The following macro constructs an instance with automatic storage duration.
instance should be torn down before this happens, using the
\descref{fun}{sod_teardown}[function]. It may be appropriate to @|assert|
that the object is ready for deallocation at this time.
instance should be torn down before this happens, using the
\descref{fun}{sod_teardown}[function]. It may be appropriate to @|assert|
that the object is ready for deallocation at this time.
+
+ By default, this macro will abort the program if the size allocated for the
+ instance doesn't match the size required by the class object; set
+ \descref{feat}{SOD_RECKLESS} to inhibit this check.
\end{describe}
\subsubsection{Dynamic allocation}
\end{describe}
\subsubsection{Dynamic allocation}