Minor clarification for the "freearg" typemap

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4823 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2003-05-28 09:12:52 +00:00
commit aaedaa6cb3

View file

@ -1734,7 +1734,7 @@ default arguments or specify a default argument in a language where
they aren't supported (like C).
<p>
One a default typemap has been applied to an argument, all arguments
Once a default typemap has been applied to an argument, all arguments
that follow must have default values.
<a name="n30"></a><H3>8.5.5 "check" typemap</H3>
@ -1797,7 +1797,9 @@ See the <tt>typemaps.i</tt> library for examples.
The "freearg" typemap is used to cleanup argument data. It is only
used when an argument might have allocated resources that need to be
cleaned up when the wrapper function exits. For example:
cleaned up when the wrapper function exits. The "freearg" typemap
usually cleans up argument resources allocated by the "in" typemap.
For example:
<blockquote>
<pre>
@ -3065,4 +3067,4 @@ for how to define typemaps of your own.
<address>SWIG 1.3 - Last Modified : October 13, 2002</address>
</body>
</html>
</html>