hotfix: Windows build attempt
This commit is contained in:
parent
d11f76ac43
commit
665689c550
3 changed files with 41 additions and 5 deletions
|
|
@ -30,7 +30,7 @@ PyObject* PyTimer::pynew(PyTypeObject* type, PyObject* args, PyObject* kwds) {
|
|||
}
|
||||
|
||||
int PyTimer::init(PyTimerObject* self, PyObject* args, PyObject* kwds) {
|
||||
static char* kwlist[] = {"name", "callback", "interval", NULL};
|
||||
static const char* kwlist[] = {"name", "callback", "interval", NULL};
|
||||
const char* name = nullptr;
|
||||
PyObject* callback = nullptr;
|
||||
int interval = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue