aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGanesh Viswanathan <dev@genotrance.com>2019-05-09 01:09:43 -0500
committerGanesh Viswanathan <dev@genotrance.com>2019-05-09 01:09:43 -0500
commita7be010832aca542faa298e3eefafb442c18f94f (patch)
treeae00a2100f604fae11ae58b41c1ffcc7d2c86d9a
parent98333ad18b8166104542312f87103f71cc4e9c00 (diff)
downloadnimterop-a7be010832aca542faa298e3eefafb442c18f94f.tar.gz
nimterop-a7be010832aca542faa298e3eefafb442c18f94f.zip
Minor doc fixes
-rw-r--r--nimterop/cimport.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/nimterop/cimport.nim b/nimterop/cimport.nim
index 77870aa..e356d11 100644
--- a/nimterop/cimport.nim
+++ b/nimterop/cimport.nim
@@ -5,7 +5,7 @@ Check out `template.nim <https://github.com/nimterop/nimterop/blob/master/nimter
as a starting point for wrapping a new library. The template can be copied and
trimmed down and modified as required.
-All `compileTime` procs must be used in a compile time context, e.g. using:
+All ``{.compileTime.}`` procs must be used in a compile time context, e.g. using:
.. code-block:: c
@@ -499,7 +499,7 @@ macro cImport*(filename: static string, recurse: static bool = false, dynlib: st
## cImport("pcre.h", dynlib="dynpcre")
##
## If ``dynlib`` is not specified, the C/C++ implementation files can be compiled in
- ## with `cCompile() <cimport.html#cCompile.m,,string>`_, or the `{.passL.}` pragma
+ ## with `cCompile() <cimport.html#cCompile.m,,string>`_, or the ``{.passL.}`` pragma
## can be used to specify the static lib to link.
result = newNimNode(nnkStmtList)