From 09efeb89e38f084c4a365cbbdce60d3674c17485 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sun, 30 Aug 2015 10:58:38 +0100 Subject: [PATCH] doc/runtime.tex: Decide that C `describe' synopses include a trailing `;'. --- doc/runtime.tex | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/runtime.tex b/doc/runtime.tex index 54113be..487bcee 100644 --- a/doc/runtime.tex +++ b/doc/runtime.tex @@ -57,7 +57,7 @@ general use. \end{describe} \begin{describe}[SOD_OFFSETDIFF]{mac} - {ptrdiff_t SOD_OFFSETDIFF(@, @_1, @_2)} + {ptrdiff_t SOD_OFFSETDIFF(@, @_1, @_2);} Returns the signed offset between two members of a structure or union type. Given a structure or union type @, and two member names @_1 @@ -70,7 +70,7 @@ general use. \end{describe} \begin{describe}[SOD_ILAYOUT]{mac} - {@{}__ilayout *SOD_ILAYOUT(@, @, const void *@)} + {@{}__ilayout *SOD_ILAYOUT(@, @, const void *@);} Recovers the instance layout base address from a pointer to one of its instance chains. @@ -87,7 +87,7 @@ general use. @|SOD_INSTBASE| macro (described below) is more suited to general use. \end{describe} -\begin{describe}[SOD_CAR]{mac} {@ SOD_CAR(@, @^*)} +\begin{describe}[SOD_CAR]{mac} {@ SOD_CAR(@, @^*);} Accepts one or more arguments and expands to just its first argument, discarding the others. @@ -105,7 +105,7 @@ The following macros are expected to be useful in Sod method definitions and client code. \begin{describe}[SOD_CLASSOF]{mac} - {const void *SOD_CLASSOF(const @ *@)} + {const void *SOD_CLASSOF(const @ *@);} Returns the class object describing an instance's dynamic class. Given a pointer @ to an instance, @|SOD_CLASSOF| returns a pointer to @@ -127,7 +127,7 @@ client code. \end{describe} \begin{describe}[SOD_CONVERT]{mac} - {@ *SOD_CONVERT(@, const void *@)} + {@ *SOD_CONVERT(@, const void *@);} Perform general conversions (up-, down-, and cross-casts) on instance pointers. @@ -142,7 +142,7 @@ client code. statically. \end{describe} -\begin{describe}[SOD_DECL]{mac}{SOD_DECL(@, @)} +\begin{describe}[SOD_DECL]{mac}{SOD_DECL(@, @);} Declares and initializes an instance with automatic storage duration. Given a class name @ and an identifier @, @|SOD_DECL| declares @@ -161,7 +161,7 @@ client code. The following functions are provided in @|libsod|. \begin{describe}[sod_subclassp]{fun} - {int sod_subclassp(const SodClass *sub, const SodClass *super)} + {int sod_subclassp(const SodClass *sub, const SodClass *super);} Decide whether one class @ is actually a subclass of another class @. @@ -174,7 +174,7 @@ The following functions are provided in @|libsod|. \end{describe} \begin{describe}[sod_convert]{fun} - {void *sod_convert(const SodClass *cls, const void *obj)} + {void *sod_convert(const SodClass *cls, const void *obj);} Performs general conversions (up-, down-, and cross-casts) on instance pointers. -- 2.11.0