set main() argv functions to be const char *

also set minimum cmake version to 2.8
This commit is contained in:
2011-02-19 12:05:20 +00:00
parent 48f232df73
commit 9ee1b3930f
10 changed files with 55 additions and 56 deletions

View File

@@ -217,7 +217,7 @@ static struct _inittab bpy_internal_modules[]= {
};
/* call BPY_context_set first */
void BPY_python_start( int argc, char **argv )
void BPY_python_start(int argc, const char **argv)
{
PyThreadState *py_tstate = NULL;