mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
interrogatedb: Fix missing 'static' keyword
This commit is contained in:
parent
6e951773a6
commit
ce4985a333
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user