changes after running the html checker
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9861 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e5b6a8e72f
commit
5ec6a8ea61
4 changed files with 59 additions and 1127 deletions
|
|
@ -229,6 +229,7 @@
|
|||
<li><a href="SWIGPlus.html#SWIGPlus_nn29">Class extension</a>
|
||||
<li><a href="SWIGPlus.html#SWIGPlus_nn30">Templates</a>
|
||||
<li><a href="SWIGPlus.html#SWIGPlus_nn31">Namespaces</a>
|
||||
<li><a href="SWIGPlus.html#SWIGPlus_renaming_templated_types_namespaces">Renaming templated types in namespaces</a>
|
||||
<li><a href="SWIGPlus.html#SWIGPlus_exception_specifications">Exception specifications</a>
|
||||
<li><a href="SWIGPlus.html#SWIGPlus_catches">Exception handling with %catches</a>
|
||||
<li><a href="SWIGPlus.html#SWIGPlus_nn33">Pointers to Members</a>
|
||||
|
|
@ -252,8 +253,9 @@
|
|||
<li><a href="Preprocessor.html#Preprocessor_nn5">Macro Expansion</a>
|
||||
<li><a href="Preprocessor.html#Preprocessor_nn6">SWIG Macros</a>
|
||||
<li><a href="Preprocessor.html#Preprocessor_nn7">C99 and GNU Extensions</a>
|
||||
<li><a href="Preprocessor.html#Preprocessor_nn8">Preprocessing and %{ ... %} blocks</a>
|
||||
<li><a href="Preprocessor.html#Preprocessor_nn9">Preprocessing and { ... }</a>
|
||||
<li><a href="Preprocessor.html#Preprocessor_nn8">Preprocessing and %{ ... %} & " ... " delimiters</a>
|
||||
<li><a href="Preprocessor.html#Preprocessor_nn9">Preprocessing and { ... } delimiters</a>
|
||||
<li><a href="Preprocessor.html#Preprocessor_typemap_delimiters">Preprocessor and Typemaps</a>
|
||||
<li><a href="Preprocessor.html#Preprocessor_nn10">Viewing preprocessor output</a>
|
||||
<li><a href="Preprocessor.html#Preprocessor_warning_error">The #error and #warning directives</a>
|
||||
</ul>
|
||||
|
|
@ -865,12 +867,13 @@
|
|||
<li><a href="Lua.html#Lua_nn19">Class extension with %extend</a>
|
||||
<li><a href="Lua.html#Lua_nn20">C++ templates</a>
|
||||
<li><a href="Lua.html#Lua_nn21">C++ Smart Pointers</a>
|
||||
<li><a href="Lua.html#Lua_nn22">Writing your own custom wrappers</a>
|
||||
</ul>
|
||||
<li><a href="Lua.html#Lua_nn22">Details on the Lua binding</a>
|
||||
<li><a href="Lua.html#Lua_nn23">Details on the Lua binding</a>
|
||||
<ul>
|
||||
<li><a href="Lua.html#Lua_nn23">Binding global data into the module.</a>
|
||||
<li><a href="Lua.html#Lua_nn24">Userdata and Metatables</a>
|
||||
<li><a href="Lua.html#Lua_nn25">Memory management</a>
|
||||
<li><a href="Lua.html#Lua_nn24">Binding global data into the module.</a>
|
||||
<li><a href="Lua.html#Lua_nn25">Userdata and Metatables</a>
|
||||
<li><a href="Lua.html#Lua_nn26">Memory management</a>
|
||||
</ul>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
@ -1208,86 +1211,22 @@
|
|||
<li><a href="Ruby.html#Ruby_nn2">Preliminaries</a>
|
||||
<ul>
|
||||
<li><a href="Ruby.html#Ruby_nn3">Running SWIG</a>
|
||||
<li><a href="Ruby.html#Ruby_nn4">Getting the right header files</a>
|
||||
<li><a href="Ruby.html#Ruby_nn5">Compiling a dynamic module</a>
|
||||
<li><a href="Ruby.html#Ruby_nn6">Using your module</a>
|
||||
<li><a href="Ruby.html#Ruby_nn7">Static linking</a>
|
||||
<li><a href="Ruby.html#Ruby_nn8">Compilation of C++ extensions</a>
|
||||
</ul>
|
||||
<li><a href="Ruby.html#Ruby_nn9">Building Ruby Extensions under Windows 95/NT</a>
|
||||
<ul>
|
||||
<li><a href="Ruby.html#Ruby_nn10">Running SWIG from Developer Studio</a>
|
||||
</ul>
|
||||
<li><a href="Ruby.html#Ruby_nn11">The Ruby-to-C/C++ Mapping</a>
|
||||
<ul>
|
||||
<li><a href="Ruby.html#Ruby_nn12">Modules</a>
|
||||
<li><a href="Ruby.html#Ruby_nn13">Functions</a>
|
||||
<li><a href="Ruby.html#Ruby_nn14">Variable Linking</a>
|
||||
<li><a href="Ruby.html#Ruby_nn15">Constants</a>
|
||||
<li><a href="Ruby.html#Ruby_nn16">Pointers</a>
|
||||
<li><a href="Ruby.html#Ruby_nn17">Structures</a>
|
||||
<li><a href="Ruby.html#Ruby_nn18">C++ classes</a>
|
||||
<li><a href="Ruby.html#Ruby_nn19">C++ Inheritance</a>
|
||||
<li><a href="Ruby.html#Ruby_nn20">C++ Overloaded Functions</a>
|
||||
<li><a href="Ruby.html#Ruby_nn21">C++ Operators</a>
|
||||
<li><a href="Ruby.html#Ruby_nn22">C++ namespaces</a>
|
||||
<li><a href="Ruby.html#Ruby_nn23">C++ templates</a>
|
||||
<li><a href="Ruby.html#Ruby_nn24">C++ Smart Pointers</a>
|
||||
<li><a href="Ruby.html#Ruby_nn25">Cross-Language Polymorphism</a>
|
||||
<ul>
|
||||
<li><a href="Ruby.html#Ruby_nn26">Exception Unrolling</a>
|
||||
</ul>
|
||||
</ul>
|
||||
<li><a href="Ruby.html#Ruby_nn27">Naming</a>
|
||||
<ul>
|
||||
<li><a href="Ruby.html#Ruby_nn28">Defining Aliases</a>
|
||||
<li><a href="Ruby.html#Ruby_nn29">Predicate Methods</a>
|
||||
<li><a href="Ruby.html#Ruby_nn30">Bang Methods</a>
|
||||
<li><a href="Ruby.html#Ruby_nn31">Getters and Setters</a>
|
||||
</ul>
|
||||
<li><a href="Ruby.html#Ruby_nn32">Input and output parameters</a>
|
||||
<li><a href="Ruby.html#Ruby_nn33">Exception handling </a>
|
||||
<ul>
|
||||
<li><a href="Ruby.html#Ruby_nn34">Using the %exception directive </a>
|
||||
<li><a href="Ruby.html#Ruby_nn35">Raising exceptions </a>
|
||||
<li><a href="Ruby.html#Ruby_nn36">Exception classes </a>
|
||||
</ul>
|
||||
<li><a href="Ruby.html#Ruby_nn37">Typemaps</a>
|
||||
<ul>
|
||||
<li><a href="Ruby.html#Ruby_nn38">What is a typemap?</a>
|
||||
<li><a href="Ruby.html#Ruby_nn39">Ruby typemaps</a>
|
||||
<li><a href="Ruby.html#Ruby_nn40">Typemap variables</a>
|
||||
<li><a href="Ruby.html#Ruby_nn41">Useful Functions</a>
|
||||
<ul>
|
||||
<li><a href="Ruby.html#Ruby_nn42">C Datatypes to Ruby Objects</a>
|
||||
<li><a href="Ruby.html#Ruby_nn43">Ruby Objects to C Datatypes</a>
|
||||
<li><a href="Ruby.html#Ruby_nn44">Macros for VALUE</a>
|
||||
<li><a href="Ruby.html#Ruby_nn45">Exceptions</a>
|
||||
<li><a href="Ruby.html#Ruby_nn46">Iterators</a>
|
||||
</ul>
|
||||
<li><a href="Ruby.html#Ruby_nn47">Typemap Examples</a>
|
||||
<li><a href="Ruby.html#Ruby_nn48">Converting a Ruby array to a char **</a>
|
||||
<li><a href="Ruby.html#Ruby_nn49">Collecting arguments in a hash</a>
|
||||
<li><a href="Ruby.html#Ruby_nn50">Pointer handling</a>
|
||||
<ul>
|
||||
<li><a href="Ruby.html#Ruby_nn51">Ruby Datatype Wrapping</a>
|
||||
</ul>
|
||||
<li><a href="Ruby.html#Ruby_nn52">Example: STL Vector to Ruby Array</a>
|
||||
</ul>
|
||||
<li><a href="Ruby.html#Ruby_nn53">Advanced Topics</a>
|
||||
<ul>
|
||||
<li><a href="Ruby.html#Ruby_nn54">Operator overloading</a>
|
||||
<li><a href="Ruby.html#Ruby_nn55">Creating Multi-Module Packages</a>
|
||||
<li><a href="Ruby.html#Ruby_nn56">Specifying Mixin Modules</a>
|
||||
</ul>
|
||||
<li><a href="Ruby.html#Ruby_nn57">Memory Management</a>
|
||||
<ul>
|
||||
<li><a href="Ruby.html#Ruby_nn58">Mark and Sweep Garbage Collector </a>
|
||||
<li><a href="Ruby.html#Ruby_nn59">Object Ownership</a>
|
||||
<li><a href="Ruby.html#Ruby_nn60">Object Tracking</a>
|
||||
<li><a href="Ruby.html#Ruby_nn61">Mark Functions</a>
|
||||
<li><a href="Ruby.html#Ruby_nn62">Free Functions</a>
|
||||
</ul>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- INDEX -->
|
||||
|
|
|
|||
|
|
@ -954,6 +954,8 @@ If you ever need to access the underlying pointer returned by <tt>operator->(
|
|||
</pre></div>
|
||||
|
||||
<H3><a name="Lua_nn22"></a>22.3.15 Writing your own custom wrappers</H3>
|
||||
|
||||
|
||||
<p>
|
||||
Sometimes, it may be neccesary to add your own special functions, which bypass the normal SWIG wrappering method, and just use the native lua-c API calls. These 'native' functions allow direct adding of your own code into the module. This is performed with the <tt>%native</tt> directive as follows:
|
||||
</p>
|
||||
|
|
|
|||
1084
Doc/Manual/Ruby.html
1084
Doc/Manual/Ruby.html
File diff suppressed because it is too large
Load diff
|
|
@ -49,6 +49,7 @@
|
|||
<li><a href="#SWIGPlus_nn29">Class extension</a>
|
||||
<li><a href="#SWIGPlus_nn30">Templates</a>
|
||||
<li><a href="#SWIGPlus_nn31">Namespaces</a>
|
||||
<li><a href="#SWIGPlus_renaming_templated_types_namespaces">Renaming templated types in namespaces</a>
|
||||
<li><a href="#SWIGPlus_exception_specifications">Exception specifications</a>
|
||||
<li><a href="#SWIGPlus_catches">Exception handling with %catches</a>
|
||||
<li><a href="#SWIGPlus_nn33">Pointers to Members</a>
|
||||
|
|
@ -4049,7 +4050,9 @@ with any namespace awareness. In the future, language modules may or may not p
|
|||
more advanced namespace support.
|
||||
</p>
|
||||
|
||||
<H2><a name="SWIGPlus_renaming_templated_types_namespaces"></a>Renaming templated types in namespaces</H2>
|
||||
<H2><a name="SWIGPlus_renaming_templated_types_namespaces"></a>6.20 Renaming templated types in namespaces</H2>
|
||||
|
||||
|
||||
<p>
|
||||
As has been mentioned, when %rename includes parameters, the parameter types must match exactly (no typedef or namespace resolution is performed).
|
||||
SWIG treats templated types slightly differently and has an additional matching rule so unlike non-templated types, an exact match is not always required.
|
||||
|
|
@ -4124,7 +4127,7 @@ namespace Space {
|
|||
</div>
|
||||
|
||||
|
||||
<H2><a name="SWIGPlus_exception_specifications"></a>6.20 Exception specifications</H2>
|
||||
<H2><a name="SWIGPlus_exception_specifications"></a>6.21 Exception specifications</H2>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -4175,7 +4178,7 @@ Consult the "<a href="Customization.html#exception">Exception handling with %exc
|
|||
The next section details a way of simulating an exception specification or replacing an existing one.
|
||||
</p>
|
||||
|
||||
<H2><a name="SWIGPlus_catches"></a>6.21 Exception handling with %catches</H2>
|
||||
<H2><a name="SWIGPlus_catches"></a>6.22 Exception handling with %catches</H2>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -4225,7 +4228,7 @@ just a single catch handler for the base class, <tt>EBase</tt> will be generated
|
|||
</p>
|
||||
|
||||
|
||||
<H2><a name="SWIGPlus_nn33"></a>6.22 Pointers to Members</H2>
|
||||
<H2><a name="SWIGPlus_nn33"></a>6.23 Pointers to Members</H2>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -4275,7 +4278,7 @@ when checking types. However, no such support is currently provided
|
|||
for member pointers.
|
||||
</p>
|
||||
|
||||
<H2><a name="SWIGPlus_nn34"></a>6.23 Smart pointers and operator->()</H2>
|
||||
<H2><a name="SWIGPlus_nn34"></a>6.24 Smart pointers and operator->()</H2>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -4485,7 +4488,7 @@ p = f.__deref__() # Raw pointer from operator->
|
|||
</p>
|
||||
|
||||
|
||||
<H2><a name="SWIGPlus_nn35"></a>6.24 Using declarations and inheritance</H2>
|
||||
<H2><a name="SWIGPlus_nn35"></a>6.25 Using declarations and inheritance</H2>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -4648,7 +4651,7 @@ public:
|
|||
</div>
|
||||
</ul>
|
||||
|
||||
<H2><a name="SWIGPlus_nested_classes"></a>6.25 Nested classes</H2>
|
||||
<H2><a name="SWIGPlus_nested_classes"></a>6.26 Nested classes</H2>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -4739,7 +4742,7 @@ typedef Outer::Inner Inner;
|
|||
The downside to this approach is having to maintain two definitions of <tt>Inner</tt>, the real one and the one in the interface file that SWIG parses.
|
||||
</p>
|
||||
|
||||
<H2><a name="SWIGPlus_nn37"></a>6.26 A brief rant about const-correctness</H2>
|
||||
<H2><a name="SWIGPlus_nn37"></a>6.27 A brief rant about const-correctness</H2>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -4797,7 +4800,7 @@ using another tool if maintaining constness is the most important part
|
|||
of your project.
|
||||
</p>
|
||||
|
||||
<H2><a name="SWIGPlus_nn42"></a>6.27 Where to go for more information</H2>
|
||||
<H2><a name="SWIGPlus_nn42"></a>6.28 Where to go for more information</H2>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue