aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGanesh Viswanathan <dev@genotrance.com>2019-01-20 16:12:51 -0600
committerGanesh Viswanathan <dev@genotrance.com>2019-01-20 16:12:51 -0600
commit186e78f8c68bcb9e96a33721e7c310b4d791c95d (patch)
treeb4b7d974ce8547c6b2fcfec8b58ced0de3d5713b
parent8a4fb0facac95351b266c8424bb864d34dde8446 (diff)
downloadnimterop-186e78f8c68bcb9e96a33721e7c310b4d791c95d.tar.gz
nimterop-186e78f8c68bcb9e96a33721e7c310b4d791c95d.zip
Docs fix
-rw-r--r--nimterop/cimport.nim5
1 files changed, 3 insertions, 2 deletions
diff --git a/nimterop/cimport.nim b/nimterop/cimport.nim
index af66953..bb8ce03 100644
--- a/nimterop/cimport.nim
+++ b/nimterop/cimport.nim
@@ -226,8 +226,9 @@ macro cCompile*(path: static string, mode = "c"): untyped =
## cCompile("file.c")
## cCompile("path/to/*.c")
##
- ## ``mode`` can be ``c`` or ``cpp`` and recursively searches for code files in
- ## specified path. ``c`` = ``*.c``, ``cpp`` = ``*.C``, ``*.cpp``, ``*.c++``, ``*.cc``, ``*.cxx``
+ ## ``mode`` recursively searches for code files in ``path``.
+ ##
+ ## ``c`` searches for ``*.c`` whereas ``cpp`` searches for ``*.C *.cpp *.c++ *.cc *.cxx``
##
## .. code-block:: nim
##