Skip to content

Commit 11009f8

Browse files
committed
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/
1 parent 2e98189 commit 11009f8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Doc/Manual/SWIG.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3016,6 +3016,11 @@ <H3><a name="SWIG_adding_member_functions">5.5.6 Adding member functions to C st
30163016
</pre>
30173017
</div>
30183018

3019+
<p>
3020+
You'll also need to use these names if you want to directly call methods added
3021+
using <tt>%extend</tt> from other C/C++ code.
3022+
</p>
3023+
30193024
<p>
30203025
The name used for %extend should be the name of the struct and not the name of any typedef to the struct.
30213026
For example:

0 commit comments

Comments
 (0)