diff options
| -rw-r--r-- | nimterop/cimport.nim | 5 |
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 ## |
