interrogatedb: Fix missing 'static' keyword

This commit is contained in:
Sam Edwards 2019-01-02 10:18:41 -07:00
parent 6e951773a6
commit ce4985a333

View File

@ -289,7 +289,7 @@ PyObject *_Dtool_Return(PyObject *value) {
/** /**
* This function converts an int value to the appropriate enum instance. * This function converts an int value to the appropriate enum instance.
*/ */
PyObject *Dtool_EnumType_New(PyTypeObject *subtype, PyObject *args, PyObject *kwds) { static PyObject *Dtool_EnumType_New(PyTypeObject *subtype, PyObject *args, PyObject *kwds) {
PyObject *arg; PyObject *arg;
if (!Dtool_ExtractArg(&arg, args, kwds, "value")) { if (!Dtool_ExtractArg(&arg, args, kwds, "value")) {
return PyErr_Format(PyExc_TypeError, return PyErr_Format(PyExc_TypeError,