Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/resource/src/cpptcl/changes_orxonox.diff @ 5678

Last change on this file since 5678 was 3360, checked in by landauf, 15 years ago
  • bugfix in TclBind: Tcl_Init was only called if the constructor of Tcl::interpreter was called with a library path. The initialization is now moved from cpptcl to TclBind.
  • added a new command: TclThreadManager source <file>. This creates a non-interactive tcl-interpreter which executes a file. This allows for example to run the telnet_server.tcl script without a thread compatible tcl library. Warning: experimental state. A script-exit terminates Orxonox.
  • Several small changes in TclThreadManager
  • Property svn:eol-style set to native
File size: 961 bytes
  • cpptcl.cc

     
    320320
    321321          post_process_policies(interp, pol, objv, false);
    322322     }
    323      catch (exception const &e)
     323     catch (std::exception const &e)
    324324     {
    325325          Tcl_SetResult(interp, const_cast<char*>(e.what()), TCL_VOLATILE);
    326326          return TCL_ERROR;
     
    363363
    364364          post_process_policies(interp, pol, objv, true);
    365365     }
    366      catch (exception const &e)
     366     catch (std::exception const &e)
    367367     {
    368368          Tcl_SetResult(interp, const_cast<char*>(e.what()), TCL_VOLATILE);
    369369          return TCL_ERROR;
     
    430430               Tcl_GetString(Tcl_GetObjResult(interp)),
    431431               object_handler, static_cast<ClientData>(chb), 0);
    432432     }
    433      catch (exception const &e)
     433     catch (std::exception const &e)
    434434     {
    435435          Tcl_SetResult(interp, const_cast<char*>(e.what()), TCL_VOLATILE);
    436436          return TCL_ERROR;
Note: See TracBrowser for help on using the repository browser.