On Wed, 14 Feb 2018, Jonathan Corbet wrote:
> It can be useful to put code snippets into kerneldoc comments; that can be
> done with the "::" operator at the end of a line like this::
>
>if (desperate)
>run_in_circles();
>
> The ".. code-block::" directive can also be used to this end.
> Am 07.02.2018 um 18:26 schrieb Jonathan Corbet :
>
> It can be useful to put code snippets into kerneldoc comments; that can be
> done with the "::" operator at the end of a line like this::
>
> if (desperate)
> run_in_circles();
>
> kernel-doc currently fails to understand these litera
On Wed, 07 Feb 2018, Jonathan Corbet wrote:
> It can be useful to put code snippets into kerneldoc comments; that can be
> done with the "::" operator at the end of a line like this::
>
>if (desperate)
>run_in_circles();
>
> kernel-doc currently fails to understand these literal blocks
On Wed, Feb 07, 2018 at 10:26:24AM -0700, Jonathan Corbet wrote:
[snip]
>if (desperate)
>run_in_circles();
this is gold :)
4 matches
Mail list logo