summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/core
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-11-18 22:24:55 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-11-18 22:24:55 (GMT)
commit7c1f85b8197cb02634d06d200f68ce65e9eca717 (patch)
treea70ed11f36e39b9643ad2977935b10f62cd57852 /plugins/pychrysalide/core
parentea090774bf3b5849422de9af8c294b3e9d00105b (diff)
Removed useless casts in the Python bindings code.
Diffstat (limited to 'plugins/pychrysalide/core')
-rw-r--r--plugins/pychrysalide/core/logs.c6
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."
},