forked from bartvdbraak/blender
Fix: solved BGE compiler error on Linux/gcc
This commit is contained in:
parent
5db143efbb
commit
07a7d77ec1
@ -84,7 +84,9 @@ static PyObject *CreatePythonTuple(unsigned int argcount, PyObject **arglist)
|
||||
void RunPythonCallBackList(PyObject *functionlist, PyObject **arglist, unsigned int minargcount, unsigned int maxargcount)
|
||||
{
|
||||
unsigned int size = PyList_Size(functionlist);
|
||||
PyObject *argTuples[(maxargcount - minargcount) + 1] = {NULL};
|
||||
PyObject *argTuples[(maxargcount - minargcount) + 1];
|
||||
|
||||
argTuples[0] = NULL;
|
||||
|
||||
for (unsigned int i = 0; i < size; ++i) {
|
||||
unsigned int funcargcount = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user