Fixed one of my examples.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@595 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
4b468ea8a3
commit
a9f3f292df
1 changed files with 6 additions and 6 deletions
|
|
@ -478,8 +478,8 @@ Revised: Dave Beazley (7/22/00)
|
||||||
The representation and manipulation of types is currently in the
|
The representation and manipulation of types is currently in the
|
||||||
process of being reorganized and (hopefully) simplified. The
|
process of being reorganized and (hopefully) simplified. The
|
||||||
following list describes the current set of functions that are used to
|
following list describes the current set of functions that are used to
|
||||||
manipulate datatypes. These are functions are different than in
|
manipulate datatypes. These functions are different than in
|
||||||
SWIG1.1 and may change names in the SWIG1.3 release.
|
SWIG1.1 and may change names in the final SWIG1.3 release.
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><tt>DataType_str(DataType *t, char *name)</tt>.<br>
|
<li><tt>DataType_str(DataType *t, char *name)</tt>.<br>
|
||||||
|
|
@ -583,10 +583,10 @@ wrapper_foo() {
|
||||||
...
|
...
|
||||||
get arguments
|
get arguments
|
||||||
...
|
...
|
||||||
result = (lstr("int")) foo(caststr("int","arg0"),
|
result = (lcaststr("int")) foo(rcaststr("int","arg0"),
|
||||||
caststr("double [20][30]","arg1"),
|
rcaststr("double [20][30]","arg1"),
|
||||||
caststr("const char *", "arg2"),
|
rcaststr("const char *", "arg2"),
|
||||||
caststr("double &", "arg3"))
|
rcaststr("double &", "arg3"))
|
||||||
...
|
...
|
||||||
}
|
}
|
||||||
</pre>
|
</pre>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue