Skip to content

Commit

Permalink
Add missing language=C for \lstinline
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Dec 28, 2020
1 parent 7c83c22 commit fca9d96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapters/functions.tex
Expand Up @@ -1762,7 +1762,7 @@ \subsubsection{Arrays}\label{arrays-1}
Unless an explicit function call is present in the external-clause, an array is passed by its address followed by $n$ arguments of type \lstinline!size_t! with the corresponding array dimension sizes, where $n$ is the number of dimensions.

\begin{nonnormative}
The type \lstinline!size_t! is a C unsigned integer type.
The type \lstinline[language=C]!size_t! is a C unsigned integer type.
\end{nonnormative}

Arrays are by default stored in row-major order when calling C functions and in column-major order when calling FORTRAN~77 functions. These defaults can be overridden by the \lstinline!arrayLayout! annotation. See the example below.
Expand Down

0 comments on commit fca9d96

Please sign in to comment.