documented /*INCLUDESECTION*/ emit section

This commit is contained in:
Araq 2015-07-14 01:26:58 +02:00
commit c02db2ff9b

View file

@ -388,7 +388,7 @@ Use two backticks to produce a single verbatim backtick.
For a toplevel emit statement the section where in the generated C/C++ file For a toplevel emit statement the section where in the generated C/C++ file
the code should be emitted can be influenced via the the code should be emitted can be influenced via the
prefixes ``/*TYPESECTION*/`` or ``/*VARSECTION*/``: prefixes ``/*TYPESECTION*/`` or ``/*VARSECTION*/`` or ``/*INCLUDESECTION*/``:
.. code-block:: Nim .. code-block:: Nim
{.emit: """/*TYPESECTION*/ {.emit: """/*TYPESECTION*/