aboutsummaryrefslogtreecommitdiff
path: root/cimport.html
diff options
context:
space:
mode:
authorGanesh Viswanathan <dev@genotrance.com>2020-05-10 22:35:50 -0500
committerGanesh Viswanathan <dev@genotrance.com>2020-05-10 22:35:50 -0500
commitc33c34fc6301263c7466ac2696ecb2cd5809b8dc (patch)
treebe0cc5261fa82e84407f034817b041447c2e87a3 /cimport.html
parent8ba9ef23ebf8324fc8011154d9189639ed19602b (diff)
downloadnimterop-c33c34fc6301263c7466ac2696ecb2cd5809b8dc.tar.gz
nimterop-c33c34fc6301263c7466ac2696ecb2cd5809b8dc.zip
Update documentation
Diffstat (limited to 'cimport.html')
-rw-r--r--cimport.html30
1 files changed, 4 insertions, 26 deletions
diff --git a/cimport.html b/cimport.html
index a110fc6..503c6ae 100644
--- a/cimport.html
+++ b/cimport.html
@@ -104,15 +104,6 @@ function main() {
</ul>
</li>
<li>
- <a class="reference reference-toplevel" href="#7" id="57">Types</a>
- <ul class="simple simple-toc-section">
- <li><a class="reference" href="#Feature"
- title="Feature = enum
- ast2"><wbr />Feature<span class="attachedType"></span></a></li>
-
- </ul>
-</li>
-<li>
<a class="reference reference-toplevel" href="#12" id="62">Procs</a>
<ul class="simple simple-toc-section">
<li><a class="reference" href="#cSkipSymbol%2Cseq%5Bstring%5D"
@@ -178,20 +169,7 @@ function main() {
<div class="section" id="6">
<h1><a class="toc-backref" href="#6">Imports</a></h1>
<dl class="item">
-<a class="reference external" href="plugin.html">plugin</a>, <a class="reference external" href="build.html">build</a>, <a class="reference external" href="paths.html">paths</a>, <a class="reference external" href="types.html">types</a>
-</dl></div>
-<div class="section" id="7">
-<h1><a class="toc-backref" href="#7">Types</a></h1>
-<dl class="item">
-<a id="Feature"></a>
-<dt><pre><a href="cimport.html#Feature"><span class="Identifier">Feature</span></a> <span class="Other">=</span> <span class="Keyword">enum</span>
- <span class="Identifier">ast2</span></pre></dt>
-<dd>
-
-
-
-</dd>
-
+<a class="reference external" href="build.html">build</a>, <a class="reference external" href="globals.html">globals</a>, <a class="reference external" href="paths.html">paths</a>, <a class="reference external" href="types.html">types</a>
</dl></div>
<div class="section" id="12">
<h1><a class="toc-backref" href="#12">Procs</a></h1>
@@ -241,7 +219,7 @@ Enable debug messages and display the generated Nim code
Add directory <tt class="docutils literal"><span class="pre">dir</span></tt> to the search path used in calls to <a class="reference external" href="cimport.html#cSearchPath,string">cSearchPath()</a>.
<p><strong class="examples_text">Examples:</strong></p>
<pre class="listing"><span class="Keyword">import</span>
- <span class="Identifier">paths</span><span class="Other">,</span> <span class="Identifier">os</span>
+ <span class="Identifier">nimterop</span> <span class="Operator">/</span> <span class="Identifier">paths</span><span class="Other">,</span> <span class="Identifier">os</span>
<span class="Keyword">static</span> <span class="Other">:</span>
<span class="Identifier">cAddSearchDir</span> <span class="Identifier">testsIncludeDir</span><span class="Other">(</span><span class="Other">)</span>
@@ -380,7 +358,7 @@ Add an include directory that is forwarded to the C/C++ preprocessor if called w
<p><tt class="docutils literal"><span class="pre">dynlib</span></tt> can be used to specify the Nim string to use to specify the dynamic library to load the imported symbols from. For example:</p>
<pre class="listing"><span class="Keyword">const</span>
<span class="Identifier">dynpcre</span> <span class="Operator">=</span>
- <span class="Keyword">when</span> <span class="Identifier">defined</span><span class="Punctuation">(</span><span class="Identifier">windows</span><span class="Punctuation">)</span><span class="Punctuation">:</span>
+ <span class="Keyword">when</span> <span class="Identifier">defined</span><span class="Punctuation">(</span><span class="Identifier">Windows</span><span class="Punctuation">)</span><span class="Punctuation">:</span>
<span class="Keyword">when</span> <span class="Identifier">defined</span><span class="Punctuation">(</span><span class="Identifier">cpu64</span><span class="Punctuation">)</span><span class="Punctuation">:</span>
<span class="StringLit">&quot;pcre64.dll&quot;</span>
<span class="Keyword">else</span><span class="Punctuation">:</span>
@@ -427,7 +405,7 @@ Add an include directory that is forwarded to the C/C++ preprocessor if called w
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
- <small style="color: var(--hint);">Made with Nim. Generated: 2020-04-28 21:50:53 UTC</small>
+ <small style="color: var(--hint);">Made with Nim. Generated: 2020-05-11 03:35:49 UTC</small>
</div>
</div>
</div>