Changeset 890 for trunk/src/python_SDLog.cc
- Timestamp:
- 03/08/06 13:32:27 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/python_SDLog.cc
r886 r890 1 1 //#--------------------------------------------------------------------------- 2 //# python_ SDLog.cc: python exposure of c++ SDLogclass2 //# python_Logger.cc: python exposure of c++ Logger class 3 3 //#--------------------------------------------------------------------------- 4 4 //# Copyright (C) 2004 … … 37 37 namespace asap { 38 38 namespace python { 39 void python_ SDLog() {40 class_< SDLog>("Log")39 void python_Logger() { 40 class_<Logger>("Log") 41 41 .def( init <> () ) 42 42 //.def( init <bool> () ) 43 .def("push", & SDLog::pushLog,43 .def("push", &Logger::pushLog, 44 44 (boost::python::arg("newline")=1)) 45 .def("pop", & SDLog::popLog)46 .def("disable", & SDLog::disableLog)47 .def("enable", & SDLog::enableLog)45 .def("pop", &Logger::popLog) 46 .def("disable", &Logger::disableLog) 47 .def("enable", &Logger::enableLog) 48 48 ; 49 49 };
Note: See TracChangeset
for help on using the changeset viewer.