hotfix: Windows build attempt

This commit is contained in:
John McCardle 2025-07-09 23:33:09 -04:00
commit 665689c550
3 changed files with 41 additions and 5 deletions

View file

@ -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;