diff options
Diffstat (limited to 'plugins/pychrysalide/core')
-rw-r--r-- | plugins/pychrysalide/core/logs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/pychrysalide/core/logs.c b/plugins/pychrysalide/core/logs.c index c0caddb..7b595c1 100644 --- a/plugins/pychrysalide/core/logs.c +++ b/plugins/pychrysalide/core/logs.c @@ -171,17 +171,17 @@ PyTypeObject *get_python_logs_type(void) { static PyMethodDef py_logs_methods[] = { { - "get_verbosity", (PyCFunction)py_logs_get_verbosity, + "get_verbosity", py_logs_get_verbosity, METH_NOARGS | METH_STATIC, "get_verbosity(, /)\n--\n\nGet the log verbosity." }, { - "set_verbosity", (PyCFunction)py_logs_set_verbosity, + "set_verbosity", py_logs_set_verbosity, METH_VARARGS | METH_STATIC, "set_verbosity(, /)\n--\n\nSet the log verbosity." }, { - "log_message", (PyCFunction)py_logs_log_message, + "log_message", py_logs_log_message, METH_VARARGS | METH_STATIC, "log_message(type, msg, /)\n--\n\nDisplay a message in the log window, if any." }, |