[#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

@@ -293,7 +293,7 @@ PyObject* SCA_MouseSensor::_getattr(const STR_String& attr) {
}
/* get x position ---------------------------------------------------------- */
char SCA_MouseSensor::GetXPosition_doc[] =
const char SCA_MouseSensor::GetXPosition_doc[] =
"getXPosition\n"
"\tReturns the x-coordinate of the mouse sensor, in frame coordinates.\n"
"\tThe lower-left corner is the origin. The coordinate is given in\n"
@@ -305,7 +305,7 @@ PyObject* SCA_MouseSensor::PyGetXPosition(PyObject* self,
}
/* get y position ---------------------------------------------------------- */
char SCA_MouseSensor::GetYPosition_doc[] =
const char SCA_MouseSensor::GetYPosition_doc[] =
"getYPosition\n"
"\tReturns the y-coordinate of the mouse sensor, in frame coordinates.\n"
"\tThe lower-left corner is the origin. The coordinate is given in\n"