clarification of what can go in the code segment of typemaps and when the preprocessor is used on typemap code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9581 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e3cb7be56d
commit
4ddb9006c8
1 changed files with 4 additions and 2 deletions
|
|
@ -700,8 +700,9 @@ case of multi-argument typemaps. In addition, each type pattern can be parameter
|
|||
variables (parms). The purpose of these variables will be explained shortly.
|
||||
</p>
|
||||
|
||||
<p><em>code</em> specifies the C code used in the typemap. It can take any one of the following
|
||||
forms:
|
||||
<p><em>code</em> specifies the code used in the typemap.
|
||||
Usually this is C/C++ code, but in the strongly typed target languages, such as Java and C#, this can contain target language code for certain typemaps.
|
||||
It can take any one of the following forms:
|
||||
</p>
|
||||
|
||||
<div class="diagram">
|
||||
|
|
@ -713,6 +714,7 @@ code : { ... }
|
|||
</div>
|
||||
|
||||
<p>
|
||||
Note that the preprocessor will expand code within the {} delimiters, but not in the last two styles of delimiters.
|
||||
Here are some examples of valid typemap specifications:
|
||||
</p>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue