[#17600] char* -> const char*

Thanks to Sean Bartell (wtachi), was causing many many warnings which distracted from the real problems.
This commit is contained in:
Campbell Barton
2008-09-20 11:08:35 +00:00
parent a12375cb4f
commit f510057fef
55 changed files with 272 additions and 272 deletions

View File

@@ -247,7 +247,7 @@ PyMethodDef KX_GameActuator::Methods[] =
};
/* getFile */
char KX_GameActuator::GetFile_doc[] =
const char KX_GameActuator::GetFile_doc[] =
"getFile()\n"
"get the name of the file to start.\n";
PyObject* KX_GameActuator::PyGetFile(PyObject* self, PyObject* args, PyObject* kwds)
@@ -256,7 +256,7 @@ PyObject* KX_GameActuator::PyGetFile(PyObject* self, PyObject* args, PyObject* k
}
/* setFile */
char KX_GameActuator::SetFile_doc[] =
const char KX_GameActuator::SetFile_doc[] =
"setFile(name)\n"
"set the name of the file to start.\n";
PyObject* KX_GameActuator::PySetFile(PyObject* self, PyObject* args, PyObject* kwds)