fix for building, also use const char in more places.

This commit is contained in:
2010-11-11 07:51:12 +00:00
parent 80a650dfb1
commit 030253cdf6
12 changed files with 86 additions and 90 deletions

View File

@@ -81,7 +81,7 @@ static PyObject *bpy_blend_paths(PyObject *UNUSED(self), PyObject *args, PyObjec
PyObject *list = PyList_New(0), *st; /* stupidly big string to be safe */
/* be sure there is low chance of the path being too short */
char filepath_expanded[1024];
char *lib;
const char *lib;
int absolute = 0;
static char *kwlist[] = {"absolute", NULL};