Allow referencing of typemap keywords inside of "$typemap("
This commit is contained in:
parent
e36e898c0a
commit
1329670640
4 changed files with 46 additions and 14 deletions
|
|
@ -2455,6 +2455,14 @@ The result is the following expansion
|
|||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
The first argument, the typemap method, can look up the keyword argument of a
|
||||
typemap by appending a colon and the keyowrd. For example,
|
||||
<tt>$typemap(directorin:descriptor, $type)</tt> would be replaced by <tt>"D"</tt> if <tt>type</tt> is a <tt>double</tt>.
|
||||
</p>
|
||||
<p>
|
||||
<em>New in SWIG 4.1.</em>
|
||||
</p>
|
||||
|
||||
<H3><a name="Typemaps_special_variable_attributes">14.4.5 Special variables and typemap attributes</a></H3>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue