a little more const correctness

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1610 8eb893ce-cfd4-0310-b710-fb5ebe64c474
sayer/1.4-spce2.6
Stefan Sayer 17 years ago
parent 13c107f906
commit f6690c269f

@ -222,7 +222,7 @@ IvrFactory::IvrFactory(const string& _app_name)
// }
void IvrFactory::import_object(PyObject* m, char* name, PyTypeObject* type)
void IvrFactory::import_object(PyObject* m, const char* name, PyTypeObject* type)
{
if (PyType_Ready(type) < 0){
ERROR("PyType_Ready failed !\n");

@ -90,7 +90,7 @@ class IvrFactory: public AmSessionFactory
void import_ivr_builtins();
void import_object(PyObject* m,
char* name,
const char* name,
PyTypeObject* type);
/** @return true if everything ok */

Loading…
Cancel
Save