tclinterp.i 617 B

1234567891011121314151617
  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. %typemap(in,numinputs=0) Tcl_Interp *interp {
  14. $1 = interp;
  15. }