updates for R
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10163 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
ca9c273546
commit
83a741c35e
6 changed files with 115 additions and 89 deletions
|
|
@ -37,7 +37,8 @@ This chapter describes the problem of using SWIG in programs
|
|||
where you want to create a collection of modules.
|
||||
</p>
|
||||
|
||||
<h2><a name="Modules_nn1"></a>15.1 Basics</h2>
|
||||
<H2><a name="Modules_nn1"></a>15.1 Basics</H2>
|
||||
|
||||
|
||||
<p>
|
||||
The basic usage case with multiple modules is when modules do not have
|
||||
|
|
@ -87,6 +88,7 @@ issue, read on.</p>
|
|||
|
||||
<H2><a name="Modules_nn2"></a>15.2 The SWIG runtime code</H2>
|
||||
|
||||
|
||||
<p>
|
||||
Many of SWIG's target languages generate a set of functions commonly known as
|
||||
the "SWIG runtime." These functions are primarily related to the runtime type
|
||||
|
|
@ -150,7 +152,7 @@ can peacefully coexist. So the type structures are separated by the
|
|||
is empty. Only modules compiled with the same pair will share type information.
|
||||
</p>
|
||||
|
||||
<H2><a name="external_run_time"></a>15.2 External access to the runtime</H2>
|
||||
<H2><a name="external_run_time"></a>15.3 External access to the runtime</H2>
|
||||
|
||||
|
||||
<p>As described in <a href="Typemaps.html#runtime_type_checker">The run-time type checker</a>,
|
||||
|
|
@ -187,7 +189,7 @@ SWIG_TYPE_TABLE to be the same as the module whose types you are trying to
|
|||
access.
|
||||
</p>
|
||||
|
||||
<H2><a name="Modules_nn4"></a>15.3 A word of caution about static libraries</H2>
|
||||
<H2><a name="Modules_nn4"></a>15.4 A word of caution about static libraries</H2>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -198,7 +200,7 @@ into it. This is very often <b>NOT</b> what you want and it can lead to unexpect
|
|||
behavior. When working with dynamically loadable modules, you should try to work exclusively with shared libraries.
|
||||
</p>
|
||||
|
||||
<H2><a name="Modules_nn5"></a>15.4 References</H2>
|
||||
<H2><a name="Modules_nn5"></a>15.5 References</H2>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -206,7 +208,7 @@ Due to the complexity of working with shared libraries and multiple modules, it
|
|||
an outside reference. John Levine's "Linkers and Loaders" is highly recommended.
|
||||
</p>
|
||||
|
||||
<H2><a name="Modules_nn6"></a>15.5 Reducing the wrapper file size</H2>
|
||||
<H2><a name="Modules_nn6"></a>15.6 Reducing the wrapper file size</H2>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue