summaryrefslogtreecommitdiff
path: root/plugins/dex/python/format.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-05-08 15:53:00 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-05-08 15:53:00 (GMT)
commit9cbb342f0c697bad082d8817513cd9771ade1b1f (patch)
treea8728ea7d5cb797ac71c0c14f8b6462d681df570 /plugins/dex/python/format.c
parent86ba53836168bcc591f532f2419fa290de601572 (diff)
Defined an improved generic macro for Python methods.
Diffstat (limited to 'plugins/dex/python/format.c')
-rw-r--r--plugins/dex/python/format.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/dex/python/format.c b/plugins/dex/python/format.c
index 9bbbfbd..f798981 100644
--- a/plugins/dex/python/format.c
+++ b/plugins/dex/python/format.c
@@ -124,8 +124,8 @@ static PyObject *py_dex_format_read_type_list(PyObject *self, PyObject *args)
#define DEX_POOL_READ_TYPE_LIST_METHOD PYTHON_METHOD_DEF \
( \
- "read_type_list", "$self, offset, /", \
- METH_VARARGS, py_dex_format_read_type_list, \
+ read_type_list, "$self, offset, /", \
+ METH_VARARGS, py_dex_format, \
"Provide the raw data of a given type list as an array of pychrysalide.PyStructObject" \
" instances." \
"\n" \