Update documentation
This commit is contained in:
parent
7bf38b6a0c
commit
301138a005
8 changed files with 17 additions and 8 deletions
2
all.html
2
all.html
|
|
@ -832,7 +832,7 @@ function main() {
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small>Made with Nim. Generated: 2019-04-06 23:36:36 UTC</small>
|
||||
<small>Made with Nim. Generated: 2019-04-11 03:27:51 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
11
cimport.html
11
cimport.html
|
|
@ -972,6 +972,15 @@ When <a class="reference external" href="cimport.html#cOverride.m,">cOverride()<
|
|||
<span class="Keyword">proc</span> <span class="Identifier">onSymbol</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">sym</span><span class="Other">:</span> <span class="Keyword">var</span> <span class="Identifier">Symbol</span><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">exportc</span><span class="Other">,</span> <span class="Identifier">dynlib</span></span><span class="Other">.}</span></span> <span class="Other">=</span>
|
||||
<span class="Identifier">sym</span><span class="Other">.</span><span class="Identifier">name</span> <span class="Other">=</span> <span class="Identifier">sym</span><span class="Other">.</span><span class="Identifier">name</span><span class="Other">.</span><span class="Identifier">strip</span><span class="Other">(</span><span class="Identifier">chars</span> <span class="Other">=</span> <span class="Other">{</span><span class="CharLit">'_'</span><span class="Other">}</span><span class="Other">)</span>
|
||||
</pre>
|
||||
<p><strong class="examples_text">Examples:</strong></p>
|
||||
<pre class="listing"><span class="Identifier">cPlugin</span><span class="Other">:</span>
|
||||
<span class="Keyword">import</span>
|
||||
<span class="Identifier">strutils</span>
|
||||
|
||||
<span class="Keyword">proc</span> <span class="Identifier">onSymbol</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">sym</span><span class="Other">:</span> <span class="Keyword">var</span> <span class="Identifier">Symbol</span><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">exportc</span><span class="Other">,</span> <span class="Identifier">dynlib</span></span><span class="Other">.}</span></span> <span class="Other">=</span>
|
||||
<span class="Keyword">if</span> <span class="Identifier">sym</span><span class="Other">.</span><span class="Identifier">kind</span> <span class="Operator">==</span> <span class="Identifier">nskProc</span> <span class="Keyword">and</span> <span class="Identifier">sym</span><span class="Other">.</span><span class="Identifier">name</span><span class="Other">.</span><span class="Identifier">contains</span><span class="Other">(</span><span class="StringLit">"SDL_"</span><span class="Other">)</span><span class="Other">:</span>
|
||||
<span class="Identifier">sym</span><span class="Other">.</span><span class="Identifier">name</span> <span class="Other">=</span> <span class="Identifier">sym</span><span class="Other">.</span><span class="Identifier">name</span><span class="Other">.</span><span class="Identifier">replace</span><span class="Other">(</span><span class="StringLit">"SDL_"</span><span class="Other">,</span> <span class="StringLit">""</span><span class="Other">)</span>
|
||||
</pre>
|
||||
|
||||
</dd>
|
||||
<a id="cDefine.m,,string"></a>
|
||||
|
|
@ -1021,7 +1030,7 @@ Add an include directory that is forwarded to the C/C++ compiler using <tt class
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small>Made with Nim. Generated: 2019-04-06 23:36:36 UTC</small>
|
||||
<small>Made with Nim. Generated: 2019-04-11 03:27:51 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -818,7 +818,7 @@ function main() {
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small>Made with Nim. Generated: 2019-04-06 23:36:33 UTC</small>
|
||||
<small>Made with Nim. Generated: 2019-04-11 03:27:49 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
2
git.html
2
git.html
|
|
@ -928,7 +928,7 @@ function main() {
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small>Made with Nim. Generated: 2019-04-06 23:36:33 UTC</small>
|
||||
<small>Made with Nim. Generated: 2019-04-11 03:27:49 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -880,7 +880,7 @@ all nimterop generated files go under here (gitignored)
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small>Made with Nim. Generated: 2019-04-06 23:36:33 UTC</small>
|
||||
<small>Made with Nim. Generated: 2019-04-11 03:27:49 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -855,7 +855,7 @@ function main() {
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small>Made with Nim. Generated: 2019-04-06 23:36:33 UTC</small>
|
||||
<small>Made with Nim. Generated: 2019-04-11 03:27:49 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -934,7 +934,7 @@ function main() {
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small>Made with Nim. Generated: 2019-04-06 23:36:36 UTC</small>
|
||||
<small>Made with Nim. Generated: 2019-04-11 03:27:51 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -883,7 +883,7 @@ function main() {
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small>Made with Nim. Generated: 2019-04-06 23:36:33 UTC</small>
|
||||
<small>Made with Nim. Generated: 2019-04-11 03:27:49 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue