doc/misc.tex: Mention that `int' is magically exported.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 5 Aug 2019 13:56:19 +0000 (14:56 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 5 Aug 2019 13:56:19 +0000 (14:56 +0100)
Someone might care.

doc/misc.tex

index 05cda1f..98e9ef9 100644 (file)
@@ -867,6 +867,19 @@ The following definitions are useful when working with conditions.
   Dijkstra.
 \end{describe}
 
+
+\subsection{Other exported symbols}
+
+\begin{describe}{sym}{int}
+  The symbol @|int| is exported by the @|sod-utilities| package, without
+  giving it any particular meaning.  This is done because it's given
+  non-conflicting meanings by two different packages, and it's more
+  convenient for user code not to have to deal with an unnecessary symbol
+  conflict.  Specifically, the @|sod| package wants to define it as a C type
+  specifier, see \descref{cls}{simple-c-type}; and @|optparse| wants to
+  define it as an option handler, see \descref{opt}{int}.
+\end{describe}
+
 %%%--------------------------------------------------------------------------
 \section{Option parser} \label{sec:misc.optparse}