summaryrefslogtreecommitdiff
path: root/plugins/dex/python
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/dex/python')
-rw-r--r--plugins/dex/python/format.c4
-rw-r--r--plugins/dex/python/pool.c20
2 files changed, 12 insertions, 12 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" \
diff --git a/plugins/dex/python/pool.c b/plugins/dex/python/pool.c
index 695e07f..971f163 100644
--- a/plugins/dex/python/pool.c
+++ b/plugins/dex/python/pool.c
@@ -102,8 +102,8 @@ static PyObject *py_dex_pool_get_raw_type(PyObject *self, PyObject *args)
#define DEX_POOL_GET_RAW_TYPE_METHOD PYTHON_METHOD_DEF \
( \
- "get_raw_type", "$self, index, /", \
- METH_VARARGS, py_dex_pool_get_raw_type, \
+ get_raw_type, "$self, index, /", \
+ METH_VARARGS, py_dex_pool, \
"Provide the raw data of a given type in the Dex pool as a pychrysalide.PyStructObject" \
" instance." \
"\n" \
@@ -160,8 +160,8 @@ static PyObject *py_dex_pool_get_raw_field(PyObject *self, PyObject *args)
#define DEX_POOL_GET_RAW_FIELD_METHOD PYTHON_METHOD_DEF \
( \
- "get_raw_field", "$self, index, /", \
- METH_VARARGS, py_dex_pool_get_raw_field, \
+ get_raw_field, "$self, index, /", \
+ METH_VARARGS, py_dex_pool, \
"Provide the raw data of a given field in the Dex pool as a pychrysalide.PyStructObject" \
" instance." \
"\n" \
@@ -220,8 +220,8 @@ static PyObject *py_dex_pool_get_raw_prototype(PyObject *self, PyObject *args)
#define DEX_POOL_GET_RAW_PROTOTYPE_METHOD PYTHON_METHOD_DEF \
( \
- "get_raw_prototype", "$self, index, /", \
- METH_VARARGS, py_dex_pool_get_raw_prototype, \
+ get_raw_prototype, "$self, index, /", \
+ METH_VARARGS, py_dex_pool, \
"Provide the raw data of a given prototype in the Dex pool as a pychrysalide.PyStructObject" \
" instance." \
"\n" \
@@ -280,8 +280,8 @@ static PyObject *py_dex_pool_get_raw_method(PyObject *self, PyObject *args)
#define DEX_POOL_GET_RAW_METHOD_METHOD PYTHON_METHOD_DEF \
( \
- "get_raw_method", "$self, index, /", \
- METH_VARARGS, py_dex_pool_get_raw_method, \
+ get_raw_method, "$self, index, /", \
+ METH_VARARGS, py_dex_pool, \
"Provide the raw data of a given method in the Dex pool as a pychrysalide.PyStructObject" \
" instance." \
"\n" \
@@ -340,8 +340,8 @@ static PyObject *py_dex_pool_get_raw_class(PyObject *self, PyObject *args)
#define DEX_POOL_GET_RAW_CLASS_METHOD PYTHON_METHOD_DEF \
( \
- "get_raw_class", "$self, index, /", \
- METH_VARARGS, py_dex_pool_get_raw_class, \
+ get_raw_class, "$self, index, /", \
+ METH_VARARGS, py_dex_pool, \
"Provide the raw data of a given class in the Dex pool as a pychrysalide.PyStructObject" \
" instance." \
"\n" \