1 /* -----------------------------------------------------------------------------
2 * See the LICENSE file for information on copyright, usage and redistribution
3 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
6 * ----------------------------------------------------------------------------- */
11 Makes the integer return code of a function the return value
12 of a SWIG generated wrapper function. For example :
19 could be wrapped as follows :
22 %apply int Tcl_Result { int foo };
26 // If return code is a Tcl_Result, simply pass it on
28 %typemap(out) int Tcl_Result {