Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

updated documentation following comd options renaming

  • Loading branch information...
commit 087a66a6587a5b34d167a5c8b98b0ba7014dbd80 1 parent dac0e98
@v-for-vandal v-for-vandal authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 Doc/Manual/Lua.html
View
10 Doc/Manual/Lua.html
@@ -160,7 +160,7 @@
</tr>
<tr>
- <td>-swig3</td>
+ <td>-no-old-metatable-bindings</td>
<td>Disable backward compatibility: old-style binding names generations and a few other things. Explanations are included into appropriate sections.</td>
</tr>
<tr>
@@ -524,7 +524,7 @@
</pre></div>
<H4>Backward compatibility</H4>
<p>
-If <tt>-swig3</tt> option is not given, then in addition to previously described bindings, the old-style ones are generated:
+If <tt>-no-old-metatable-bindings</tt> option is not given, then in addition to previously described bindings, the old-style ones are generated:
</p>
<div class="targetlang"><pre>
&gt; print(example.Test_TEST1)
@@ -748,7 +748,7 @@
</pre></div>
<H4>Backward compatibility</H4>
-<p> If <tt>-swig3</tt> option is not given, then backward compatible names are generated in addition to ordinary ones: </p>
+<p> If <tt>-no-old-metatable-bindings</tt> option is not given, then backward compatible names are generated in addition to ordinary ones: </p>
<div class="code"><pre>
&gt; example.Spam_foo() -- calling Spam::foo()
&gt; a=example.Spam_bar -- reading Spam::bar
@@ -1364,7 +1364,7 @@
</pre></div>
<H4> Backward compatibility </H4>
<p>
-If SWIG is running in backward compatible way, i.e. without <tt>-swig3</tt> option, then additional old-style names are generated(notice the underscore):
+If SWIG is running in backward compatible way, i.e. without <tt>-no-old-metatable-bindings</tt> option, then additional old-style names are generated(notice the underscore):
</p>
<div class="targetlang"><pre>
9
@@ -1376,7 +1376,7 @@
</pre></div>
<H3> Backward compatibility </H3>
<H4> Names </H4>
-<p> If SWIG is launched without <tt>-swig3</tt> option, then it enters backward-compatible mode. While in this mode, it tries
+<p> If SWIG is launched without <tt>-no-old-metatable-bindings</tt> option, then it enters backward-compatible mode. While in this mode, it tries
to generate additional names for static functions, class static constants and class enums.
Those names are in a form <tt>$classname_$symbolname</tt> and are added to the scope surrounding the class.
If %nspace is enabled, then class namespace is taken as scope. If there is no namespace, or %nspace is disabled,
Please sign in to comment.
Something went wrong with that request. Please try again.