Minor mods getting ready for 1.3.28

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8556 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2006-01-25 22:41:22 +00:00
commit d27dfe31e5
5 changed files with 47 additions and 40 deletions

View file

@ -1211,51 +1211,59 @@
<li><a href="Ruby.html#Ruby_nn21">C++ Operators</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_nn22">C++ namespaces</a>
<li><a href="Ruby.html#Ruby_nn23">C++ templates</a> <li><a href="Ruby.html#Ruby_nn23">C++ templates</a>
<li><a href="Ruby.html#ruby_cpp_smart_pointers">C++ Smart Pointers</a> <li><a href="Ruby.html#Ruby_nn24">C++ Smart Pointers</a>
<li><a href="Ruby.html#Ruby_nn25">Cross-Language Polymorphism</a> <li><a href="Ruby.html#Ruby_nn25">Cross-Language Polymorphism</a>
<ul> <ul>
<li><a href="Ruby.html#Ruby_nn26">Exception Unrolling</a> <li><a href="Ruby.html#Ruby_nn26">Exception Unrolling</a>
</ul> </ul>
</ul> </ul>
<li><a href="Ruby.html#Ruby_nn27">Input and output parameters</a> <li><a href="Ruby.html#Ruby_nn27">Naming</a>
<li><a href="Ruby.html#Ruby_nn29">Typemaps</a>
<ul> <ul>
<li><a href="Ruby.html#Ruby_nn30">What is a typemap?</a> <li><a href="Ruby.html#Ruby_nn28">Defining Aliases</a>
<li><a href="Ruby.html#Ruby_nn31">Ruby typemaps</a> <li><a href="Ruby.html#Ruby_nn29">Predicate Methods</a>
<li><a href="Ruby.html#Ruby_nn32">Typemap variables</a> <li><a href="Ruby.html#Ruby_nn30">Bang Methods</a>
<li><a href="Ruby.html#Ruby_nn33">Useful Functions</a>
<ul>
<li><a href="Ruby.html#Ruby_nn34">C Datatypes to Ruby Objects</a>
<li><a href="Ruby.html#Ruby_nn35">Ruby Objects to C Datatypes</a>
<li><a href="Ruby.html#Ruby_nn36">Macros for VALUE</a>
<li><a href="Ruby.html#Ruby_nn37">Exceptions</a>
<li><a href="Ruby.html#Ruby_nn38">Iterators</a>
</ul> </ul>
<li><a href="Ruby.html#ruby_typemap_examples">Typemap Examples</a> <li><a href="Ruby.html#Ruby_nn32">Input and output parameters</a>
<li><a href="Ruby.html#Ruby_nn40">Converting a Ruby array to a char **</a> <li><a href="Ruby.html#Ruby_nn33">Simple exception handling </a>
<li><a href="Ruby.html#Ruby_nn41">Collecting arguments in a hash</a> <li><a href="Ruby.html#Ruby_nn34">Typemaps</a>
<li><a href="Ruby.html#Ruby_nn42">Pointer handling</a>
<ul> <ul>
<li><a href="Ruby.html#Ruby_nn43">Ruby Datatype Wrapping</a> <li><a href="Ruby.html#Ruby_nn35">What is a typemap?</a>
<li><a href="Ruby.html#Ruby_nn36">Ruby typemaps</a>
<li><a href="Ruby.html#Ruby_nn37">Typemap variables</a>
<li><a href="Ruby.html#Ruby_nn38">Useful Functions</a>
<ul>
<li><a href="Ruby.html#Ruby_nn39">C Datatypes to Ruby Objects</a>
<li><a href="Ruby.html#Ruby_nn40">Ruby Objects to C Datatypes</a>
<li><a href="Ruby.html#Ruby_nn41">Macros for VALUE</a>
<li><a href="Ruby.html#Ruby_nn42">Exceptions</a>
<li><a href="Ruby.html#Ruby_nn43">Iterators</a>
</ul>
<li><a href="Ruby.html#Ruby_nn44">Typemap Examples</a>
<li><a href="Ruby.html#Ruby_nn45">Converting a Ruby array to a char **</a>
<li><a href="Ruby.html#Ruby_nn46">Collecting arguments in a hash</a>
<li><a href="Ruby.html#Ruby_nn47">Pointer handling</a>
<ul>
<li><a href="Ruby.html#Ruby_nn48">Ruby Datatype Wrapping</a>
</ul> </ul>
</ul> </ul>
<li><a href="Ruby.html#ruby_operator_overloading">Operator overloading</a> <li><a href="Ruby.html#Ruby_nn49">Operator overloading</a>
<ul> <ul>
<li><a href="Ruby.html#Ruby_nn45">Example: STL Vector to Ruby Array</a> <li><a href="Ruby.html#Ruby_nn50">Example: STL Vector to Ruby Array</a>
</ul> </ul>
<li><a href="Ruby.html#Ruby_nn46">Advanced Topics</a> <li><a href="Ruby.html#Ruby_nn51">Advanced Topics</a>
<ul> <ul>
<li><a href="Ruby.html#Ruby_nn47">Creating Multi-Module Packages</a> <li><a href="Ruby.html#Ruby_nn52">Creating Multi-Module Packages</a>
<li><a href="Ruby.html#Ruby_nn48">Defining Aliases</a> <li><a href="Ruby.html#Ruby_nn53">Defining Aliases</a>
<li><a href="Ruby.html#Ruby_nn49">Predicate Methods</a> <li><a href="Ruby.html#Ruby_nn54">Predicate Methods</a>
<li><a href="Ruby.html#Ruby_nn50">Specifying Mixin Modules</a> <li><a href="Ruby.html#Ruby_nn55">Specifying Mixin Modules</a>
</ul> </ul>
<li><a href="Ruby.html#Ruby_nn51">Memory Management</a> <li><a href="Ruby.html#Ruby_nn56">Memory Management</a>
<ul> <ul>
<li><a href="Ruby.html#Ruby_nn53">Object Ownership</a> <li><a href="Ruby.html#Ruby_nn57">Mark and Sweep Garbage Collector </a>
<li><a href="Ruby.html#Ruby_nn54">Object Tracking</a> <li><a href="Ruby.html#Ruby_nn58">Object Ownership</a>
<li><a href="Ruby.html#Ruby_nn55">Mark Functions</a> <li><a href="Ruby.html#Ruby_nn59">Object Tracking</a>
<li><a href="Ruby.html#Ruby_nn56">Free Functions</a> <li><a href="Ruby.html#Ruby_nn60">Mark Functions</a>
<li><a href="Ruby.html#Ruby_nn61">Free Functions</a>
</ul> </ul>
</ul> </ul>
</div> </div>

View file

@ -18,7 +18,7 @@
<li><a href="#Customization_nn6">Defining different exception handlers</a> <li><a href="#Customization_nn6">Defining different exception handlers</a>
<li><a href="#Customization_nn7">Using The SWIG exception library</a> <li><a href="#Customization_nn7">Using The SWIG exception library</a>
</ul> </ul>
<li><a href="#ownership">Object ownership, %newobject and %delobject </a> <li><a href="#ownership">Object ownership and %newobject</a>
<li><a href="#features">Features and the %feature directive</a> <li><a href="#features">Features and the %feature directive</a>
<ul> <ul>
<li><a href="#Customization_feature_flags">Feature flags</a> <li><a href="#Customization_feature_flags">Feature flags</a>
@ -547,7 +547,7 @@ void destroy_foo(Foo *foo);
<p> <p>
which instructs SWIG that the pointer passed to <tt>destroy_foo</tt> will which instructs SWIG that the pointer passed to <tt>destroy_foo</tt> will
be destroyed, and therefore, the target language should not attemp to be destroyed, and therefore, the target language should not attempt to
deallocate it twice. This is similar to the DISOWN typemap, and in deallocate it twice. This is similar to the DISOWN typemap, and in
fact, it also depends on the target language to implement the 'disown' fact, it also depends on the target language to implement the 'disown'
mechanism properly. mechanism properly.

View file

@ -47,7 +47,6 @@
<li><a href="#Ruby_nn28">Defining Aliases</a> <li><a href="#Ruby_nn28">Defining Aliases</a>
<li><a href="#Ruby_nn29">Predicate Methods</a> <li><a href="#Ruby_nn29">Predicate Methods</a>
<li><a href="#Ruby_nn30">Bang Methods</a> <li><a href="#Ruby_nn30">Bang Methods</a>
<li><a href="#Ruby_nn31"></a>
</ul> </ul>
<li><a href="#Ruby_nn32">Input and output parameters</a> <li><a href="#Ruby_nn32">Input and output parameters</a>
<li><a href="#Ruby_nn33">Simple exception handling </a> <li><a href="#Ruby_nn33">Simple exception handling </a>
@ -1056,7 +1055,7 @@ $ <b>ruby -e 'puts $:.join("\n")'</b><br>/usr/local/lib/ruby/site_ruby/1.6 /usr/
"features" mechanism and so the same name matching rules used for other kinds "features" mechanism and so the same name matching rules used for other kinds
of features apply (see the chapter on <a href="Customization.html#Customization">"Customization of features apply (see the chapter on <a href="Customization.html#Customization">"Customization
Features"</a>) for more details). </p> Features"</a>) for more details). </p>
<H2><a name="Ruby_nn32"></a>30.5 Input and output parameters</H2> <H2><a name="Ruby_nn32"></a>30.5 Input and output parameters</H2>
<p> <p>

View file

@ -3728,11 +3728,11 @@ example, if you have
<div class="code"> <div class="code">
<pre> <pre>
class EBase struct EBase { virtual ~Base(); };
class Error1 : EBase { }; struct Error1 : EBase { };
class Error2 : EBase { }; struct Error2 : EBase { };
class Error3 : EBase { }; struct Error3 : EBase { };
class Error4 : EBase { }; struct Error4 : EBase { };
%catches(EBase) Foo::blah(); %catches(EBase) Foo::blah();
%catches(Error1,Error2,...) Foo::bar(); %catches(Error1,Error2,...) Foo::bar();

View file

@ -6,7 +6,7 @@
<body bgcolor="#ffffff"> <body bgcolor="#ffffff">
<H1><a name="Sections"></a>SWIG-1.3 Development Documentation</H1> <H1><a name="Sections"></a>SWIG-1.3 Development Documentation</H1>
Last update : SWIG-1.3.27 (cvs version) Last update : SWIG-1.3.28 (February 5, 2006)
<H2>Sections</H2> <H2>Sections</H2>