From 9cd9efe2f889f0da62d3518e79e66ad35c38f9ac Mon Sep 17 00:00:00 2001 From: Ganesh Viswanathan Date: Thu, 9 May 2019 01:10:00 -0500 Subject: [PATCH] Update documentation --- all.html | 2 +- cimport.html | 6 +++--- compat.html | 2 +- git.html | 2 +- paths.html | 2 +- plugin.html | 2 +- theindex.html | 2 +- types.html | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/all.html b/all.html index 59a8e0e..01b70ff 100755 --- a/all.html +++ b/all.html @@ -1264,7 +1264,7 @@ function main() { diff --git a/cimport.html b/cimport.html index 6653888..d58d588 100755 --- a/cimport.html +++ b/cimport.html @@ -1295,7 +1295,7 @@ function main() {

This is the main nimterop import file to help with wrapping C/C++ source code.

Check out template.nim 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:

static:
   cAddStdDir()

@@ -1463,7 +1463,7 @@ Add an include directory that is forwarded to the C/C++ compiler using else: "libpcre.so(.3|.1|)" -cImport("pcre.h", dynlib="dynpcre")

If dynlib is not specified, the C/C++ implementation files can be compiled in with cCompile(), or the {.passL.} pragma can be used to specify the static lib to link.

+cImport("pcre.h", dynlib="dynpcre")

If dynlib is not specified, the C/C++ implementation files can be compiled in with cCompile(), or the {.passL.} pragma can be used to specify the static lib to link.

@@ -1477,7 +1477,7 @@ Add an include directory that is forwarded to the C/C++ compiler using
- Made with Nim. Generated: 2019-05-09 06:07:27 UTC + Made with Nim. Generated: 2019-05-09 06:10:00 UTC
diff --git a/compat.html b/compat.html index 1bfc001..6ef1cba 100755 --- a/compat.html +++ b/compat.html @@ -1281,7 +1281,7 @@ naive version of os.relativePath ; remove after nim >= 0.19.9 diff --git a/git.html b/git.html index dd7e21e..35225ee 100755 --- a/git.html +++ b/git.html @@ -1368,7 +1368,7 @@ function main() { diff --git a/paths.html b/paths.html index 3c29d67..0b5a138 100755 --- a/paths.html +++ b/paths.html @@ -1312,7 +1312,7 @@ all nimterop generated files go under here (gitignored) diff --git a/plugin.html b/plugin.html index f53a574..d219e65 100755 --- a/plugin.html +++ b/plugin.html @@ -1287,7 +1287,7 @@ function main() { diff --git a/theindex.html b/theindex.html index 63f9762..c2bed34 100755 --- a/theindex.html +++ b/theindex.html @@ -1372,7 +1372,7 @@ function main() { diff --git a/types.html b/types.html index 8a55a35..3a49234 100755 --- a/types.html +++ b/types.html @@ -1315,7 +1315,7 @@ function main() {