more "eg" fixes

This commit is contained in:
narimiran 2020-10-20 10:51:50 +02:00
commit 5e9dd81baa
8 changed files with 8 additions and 8 deletions

View file

@ -6707,7 +6707,7 @@ Example:
embedsC()
``nimbase.h`` defines ``NIM_EXTERNC`` C macro that can be used for
``extern "C"`` code to work with both ``nim c`` and ``nim cpp``, eg:
``extern "C"`` code to work with both ``nim c`` and ``nim cpp``, e.g.:
.. code-block:: Nim
proc foobar() {.importc:"$1".}