Changeset 1494 for code/branches/network/src/cpptcl
- Timestamp:
- May 31, 2008, 11:24:44 PM (17 years ago)
- Location:
- code/branches/network/src/cpptcl
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/cpptcl/CMakeLists.txt
- Property svn:eol-style set to native
-
code/branches/network/src/cpptcl/CREDITS
- Property svn:eol-style set to native
-
code/branches/network/src/cpptcl/CppTcl.cc
- Property svn:eol-style set to native
r1461 r1494 855 855 interpreter::interpreter() 856 856 { 857 interp_ = Tcl_CreateInterp(); 858 owner_ = true; 859 } 860 861 interpreter::interpreter(string const &libpath) 862 { 863 interp_ = Tcl_CreateInterp(); 864 owner_ = true; 865 866 try 867 { 868 this->eval("set tcl_library " + libpath); 869 Tcl_Init(this->interp_); 870 } catch (...) {} 871 } 857 interp_ = Tcl_CreateInterp(); owner_ = true; 858 }interpreter::interpreter(string const &libpath){ interp_ = Tcl_CreateInterp(); owner_ = true; try { this->eval("set tcl_library " + libpath); Tcl_Init(this->interp_); } catch (...) {}} 872 859 873 860 interpreter::interpreter(Tcl_Interp *interp, bool owner) … … 883 870 // clear all callback info belonging to this interpreter 884 871 clear_definitions(interp_); 885 886 Tcl_DeleteInterp(interp_); 887 } 872 Tcl_DeleteInterp(interp_); } 888 873 } 889 874 -
code/branches/network/src/cpptcl/CppTcl.h
- Property svn:eol-style set to native
r1214 r1494 467 467 { 468 468 public: 469 interpreter(); 470 interpreter(std::string const &libpath); 469 interpreter(); interpreter(std::string const &libpath); 471 470 interpreter(Tcl_Interp *, bool owner = true); 472 471 ~interpreter(); -
code/branches/network/src/cpptcl/LICENSE
- Property svn:eol-style set to native
-
code/branches/network/src/cpptcl/README
- Property svn:eol-style set to native
-
code/branches/network/src/cpptcl/details/callbacks.h
- Property svn:eol-style set to native
-
code/branches/network/src/cpptcl/details/callbacks_v.h
- Property svn:eol-style set to native
-
code/branches/network/src/cpptcl/details/constructors.h
- Property svn:eol-style set to native
-
code/branches/network/src/cpptcl/details/conversions.h
- Property svn:eol-style set to native
-
code/branches/network/src/cpptcl/details/dispatchers.h
- Property svn:eol-style set to native
-
code/branches/network/src/cpptcl/details/metahelpers.h
- Property svn:eol-style set to native
-
code/branches/network/src/cpptcl/details/methods.h
- Property svn:eol-style set to native
-
code/branches/network/src/cpptcl/details/methods_v.h
- Property svn:eol-style set to native
Note: See TracChangeset
for help on using the changeset viewer.