Add C++17 documentation chapter
This commit is contained in:
parent
192aa2892c
commit
066c396ad6
39 changed files with 1131 additions and 1112 deletions
|
|
@ -7,7 +7,7 @@
|
|||
</head>
|
||||
|
||||
<body bgcolor="#ffffff">
|
||||
<H1><a name="Arguments">10 Argument Handling</a></H1>
|
||||
<H1><a name="Arguments">11 Argument Handling</a></H1>
|
||||
<!-- INDEX -->
|
||||
<div class="sectiontoc">
|
||||
<ul>
|
||||
|
|
@ -43,7 +43,7 @@ return multiple values through the arguments of a function. This chapter
|
|||
describes some of the techniques for doing this.
|
||||
</p>
|
||||
|
||||
<H2><a name="Arguments_nn2">10.1 The typemaps.i library</a></H2>
|
||||
<H2><a name="Arguments_nn2">11.1 The typemaps.i library</a></H2>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -51,7 +51,7 @@ This section describes the <tt>typemaps.i</tt> library file--commonly used to
|
|||
change certain properties of argument conversion.
|
||||
</p>
|
||||
|
||||
<H3><a name="Arguments_nn3">10.1.1 Introduction</a></H3>
|
||||
<H3><a name="Arguments_nn3">11.1.1 Introduction</a></H3>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -195,7 +195,7 @@ else. To clear a typemap, the <tt>%clear</tt> directive should be used. For e
|
|||
</pre>
|
||||
</div>
|
||||
|
||||
<H3><a name="Arguments_nn4">10.1.2 Input parameters</a></H3>
|
||||
<H3><a name="Arguments_nn4">11.1.2 Input parameters</a></H3>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -248,7 +248,7 @@ When the function is used in the scripting language interpreter, it will work li
|
|||
result = add(3, 4)
|
||||
</pre></div>
|
||||
|
||||
<H3><a name="Arguments_nn5">10.1.3 Output parameters</a></H3>
|
||||
<H3><a name="Arguments_nn5">11.1.3 Output parameters</a></H3>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -315,7 +315,7 @@ iresult, dresult = foo(3.5, 2)
|
|||
</pre>
|
||||
</div>
|
||||
|
||||
<H3><a name="Arguments_nn6">10.1.4 Input/Output parameters</a></H3>
|
||||
<H3><a name="Arguments_nn6">11.1.4 Input/Output parameters</a></H3>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -380,7 +380,7 @@ rather than directly overwriting the value of the original input object.
|
|||
SWIG. Backwards compatibility is preserved, but deprecated.
|
||||
</p>
|
||||
|
||||
<H3><a name="Arguments_nn7">10.1.5 Using different names</a></H3>
|
||||
<H3><a name="Arguments_nn7">11.1.5 Using different names</a></H3>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -414,7 +414,7 @@ Typemap declarations are lexically scoped so a typemap takes effect from the poi
|
|||
file or a matching <tt>%clear</tt> declaration.
|
||||
</p>
|
||||
|
||||
<H2><a name="Arguments_nn8">10.2 Applying constraints to input values</a></H2>
|
||||
<H2><a name="Arguments_nn8">11.2 Applying constraints to input values</a></H2>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -424,7 +424,7 @@ insure that a value is positive, or that a pointer is non-NULL. This
|
|||
can be accomplished including the <tt>constraints.i</tt> library file.
|
||||
</p>
|
||||
|
||||
<H3><a name="Arguments_nn9">10.2.1 Simple constraint example</a></H3>
|
||||
<H3><a name="Arguments_nn9">11.2.1 Simple constraint example</a></H3>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -450,7 +450,7 @@ the arguments violate the constraint condition, a scripting language
|
|||
exception will be raised. As a result, it is possible to catch bad
|
||||
values, prevent mysterious program crashes and so on.</p>
|
||||
|
||||
<H3><a name="Arguments_nn10">10.2.2 Constraint methods</a></H3>
|
||||
<H3><a name="Arguments_nn10">11.2.2 Constraint methods</a></H3>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
@ -466,7 +466,7 @@ NONNULL Non-NULL pointer (pointers only).
|
|||
|
||||
</pre></div>
|
||||
|
||||
<H3><a name="Arguments_nn11">10.2.3 Applying constraints to new datatypes</a></H3>
|
||||
<H3><a name="Arguments_nn11">11.2.3 Applying constraints to new datatypes</a></H3>
|
||||
|
||||
|
||||
<p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue