diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-12-27 22:24:07 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-12-27 22:24:07 (GMT) |
commit | d33e8935c5186ab2459dfa6c9340396377524fb1 (patch) | |
tree | 951e4dd3edcf9782c90fda5f564d390c01abce35 /plugins/elf/python/format.c | |
parent | c8dce9ce407b2f8248d669df196a4bf0f9523723 (diff) |
Extended the Python bindings.
Diffstat (limited to 'plugins/elf/python/format.c')
-rw-r--r-- | plugins/elf/python/format.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/elf/python/format.c b/plugins/elf/python/format.c index 4e2b7cc..b78dadb 100644 --- a/plugins/elf/python/format.c +++ b/plugins/elf/python/format.c @@ -180,7 +180,12 @@ PyTypeObject *get_python_elf_format_type(void) { "find_dynamic_item_by_index", py_elf_format_find_dynamic_item_by_index, METH_VARARGS, - "find_dynamic_item_by_index($self, type, /)\n--\n\nFind an item from the dynamic segment using a given index." + "find_dynamic_item_by_index($self, index, /)\n--\n\nFind an item from the dynamic segment using a given index." + }, + { + "find_dynamic_item_by_type", py_elf_format_find_dynamic_item_by_type, + METH_VARARGS, + "find_dynamic_item_by_type($self, type, /)\n--\n\nFind an item from the dynamic segment using a given type." }, { NULL } }; |