Home | History | Annotate | Download | only in tcl
      1 /* -----------------------------------------------------------------------------
      2  * tclinterp.i
      3  *
      4  * Tcl_Interp *interp
      5  *
      6  * Passes the current Tcl_Interp value directly to a C function.
      7  * This can be used to work with existing wrapper functions or
      8  * if you just need the interp value for some reason.  When used,
      9  * the 'interp' parameter becomes hidden in the Tcl interface--that
     10  * is, you don't specify it explicitly. SWIG fills in its value
     11  * automatically.
     12  * ----------------------------------------------------------------------------- */
     13 
     14 %typemap(in,numinputs=0) Tcl_Interp *interp {
     15   $1 = interp;
     16 }
     17 
     18