add link to %%newobject section
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11796 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
eefaef3bdb
commit
bd84f7f794
1 changed files with 4 additions and 1 deletions
|
|
@ -890,7 +890,10 @@ char *foo();
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
This will release the result.
|
This will release the result if the appropriate target language support is available.
|
||||||
|
SWIG provides the appropriate "newfree" typemap for <tt>char *</tt> so that the memory is released,
|
||||||
|
however, you may need to provide your own "newfree" typemap for other types.
|
||||||
|
See <a href="Customization.html#ownership">Object ownership and %newobject</a> for more details.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<H3><a name="Library_nn12"></a>8.3.4 cstring.i</H3>
|
<H3><a name="Library_nn12"></a>8.3.4 cstring.i</H3>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue