Document calling extend methods from C/C++
Note that it's necessary to use the naming scheme we already document to do this. Fixes https://sourceforge.net/p/swig/bugs/889/
This commit is contained in:
parent
2e98189564
commit
11009f8e23
1 changed files with 5 additions and 0 deletions
|
|
@ -3016,6 +3016,11 @@ typedef struct Vector {
|
|||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
You'll also need to use these names if you want to directly call methods added
|
||||
using <tt>%extend</tt> from other C/C++ code.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
The name used for %extend should be the name of the struct and not the name of any typedef to the struct.
|
||||
For example:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue