Changeset 98113da in nscp for modules/PythonScript/PythonScript.cpp
- Timestamp:
- 10/09/11 12:03:55 (20 months ago)
- Branches:
- master, 0.4.0, 0.4.1, 0.4.2
- Children:
- 58f0e80
- Parents:
- 234a037
- File:
-
- 1 edited
-
modules/PythonScript/PythonScript.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
modules/PythonScript/PythonScript.cpp
r9b9be81 r98113da 46 46 } 47 47 using namespace boost::python; 48 49 template<class T>50 void caller(auto_ptr<T> obj)51 {52 new_owner_function(obj.get());53 obj.release();54 }55 56 48 57 49 BOOST_PYTHON_MODULE(NSCP) … … 111 103 def("log_error", script_wrapper::log_error); 112 104 def("log_debug", script_wrapper::log_debug); 105 def("sleep", script_wrapper::sleep); 113 106 // def("get_module_alias", script_wrapper::get_module_alias); 114 107 // def("get_script_alias", script_wrapper::get_script_alias);
Note: See TracChangeset
for help on using the changeset viewer.








