summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-08-18 07:47:53 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-08-18 07:47:53 (GMT)
commitef66e5930efdfccb6b7db125ada6908650e745da (patch)
tree49ee4ca6e32de55c93dae6ab48b44b0b78fad18f /plugins
parent9167c2a44efba513aaf8cac6d5589c565ed14ddf (diff)
Removed a useless cast in the Python bindings.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/dex/python/format.c2
-rw-r--r--plugins/dexbnf/python/demangler.c2
-rw-r--r--plugins/elf/python/format.c2
-rw-r--r--plugins/itanium/python/demangler.c2
-rw-r--r--plugins/pychrysalide/analysis/binary.c2
-rw-r--r--plugins/pychrysalide/analysis/contents/encapsulated.c2
-rw-r--r--plugins/pychrysalide/analysis/contents/file.c2
-rw-r--r--plugins/pychrysalide/analysis/contents/memory.c2
-rw-r--r--plugins/pychrysalide/analysis/contents/restricted.c2
-rw-r--r--plugins/pychrysalide/analysis/db/items/comment.c2
-rw-r--r--plugins/pychrysalide/analysis/routine.c2
-rw-r--r--plugins/pychrysalide/analysis/types/array.c2
-rw-r--r--plugins/pychrysalide/analysis/types/basic.c2
-rw-r--r--plugins/pychrysalide/analysis/types/cse.c2
-rw-r--r--plugins/pychrysalide/analysis/types/encaps.c2
-rw-r--r--plugins/pychrysalide/analysis/types/expr.c2
-rw-r--r--plugins/pychrysalide/analysis/types/literal.c2
-rw-r--r--plugins/pychrysalide/analysis/types/override.c2
-rw-r--r--plugins/pychrysalide/analysis/types/proto.c2
-rw-r--r--plugins/pychrysalide/analysis/types/template.c2
-rw-r--r--plugins/pychrysalide/arch/vmpa.c4
-rw-r--r--plugins/pychrysalide/common/bits.c2
-rw-r--r--plugins/pychrysalide/debug/gdbrsp/gdb.c2
-rw-r--r--plugins/pychrysalide/format/flat.c2
-rw-r--r--plugins/pychrysalide/format/symbol.c2
-rw-r--r--plugins/pychrysalide/glibext/configuration.c4
-rw-r--r--plugins/pychrysalide/gtkext/displaypanel.c2
27 files changed, 29 insertions, 29 deletions
diff --git a/plugins/dex/python/format.c b/plugins/dex/python/format.c
index 5a277c6..8f18fc8 100644
--- a/plugins/dex/python/format.c
+++ b/plugins/dex/python/format.c
@@ -476,7 +476,7 @@ PyTypeObject *get_python_dex_format_type(void)
.tp_methods = py_dex_format_methods,
.tp_getset = py_dex_format_getseters,
- .tp_new = (newfunc)py_dex_format_new
+ .tp_new = py_dex_format_new
};
diff --git a/plugins/dexbnf/python/demangler.c b/plugins/dexbnf/python/demangler.c
index e9dba41..60d751b 100644
--- a/plugins/dexbnf/python/demangler.c
+++ b/plugins/dexbnf/python/demangler.c
@@ -106,7 +106,7 @@ PyTypeObject *get_python_dex_demangler_type(void)
.tp_methods = py_dex_demangler_methods,
.tp_getset = py_dex_demangler_getseters,
- .tp_new = (newfunc)py_dex_demangler_new
+ .tp_new = py_dex_demangler_new
};
diff --git a/plugins/elf/python/format.c b/plugins/elf/python/format.c
index 87b590b..6c1b12f 100644
--- a/plugins/elf/python/format.c
+++ b/plugins/elf/python/format.c
@@ -230,7 +230,7 @@ PyTypeObject *get_python_elf_format_type(void)
.tp_methods = py_elf_format_methods,
.tp_getset = py_elf_format_getseters,
- .tp_new = (newfunc)py_elf_format_new
+ .tp_new = py_elf_format_new
};
diff --git a/plugins/itanium/python/demangler.c b/plugins/itanium/python/demangler.c
index dfade68..1838aa1 100644
--- a/plugins/itanium/python/demangler.c
+++ b/plugins/itanium/python/demangler.c
@@ -106,7 +106,7 @@ PyTypeObject *get_python_itanium_demangler_type(void)
.tp_methods = py_itanium_demangler_methods,
.tp_getset = py_itanium_demangler_getseters,
- .tp_new = (newfunc)py_itanium_demangler_new
+ .tp_new = py_itanium_demangler_new
};
diff --git a/plugins/pychrysalide/analysis/binary.c b/plugins/pychrysalide/analysis/binary.c
index 8640bc2..0fc9f38 100644
--- a/plugins/pychrysalide/analysis/binary.c
+++ b/plugins/pychrysalide/analysis/binary.c
@@ -270,7 +270,7 @@ PyTypeObject *get_python_loaded_binary_type(void)
.tp_methods = py_loaded_binary_methods,
.tp_getset = py_loaded_binary_getseters,
- .tp_new = (newfunc)py_loaded_binary_new
+ .tp_new = py_loaded_binary_new
};
diff --git a/plugins/pychrysalide/analysis/contents/encapsulated.c b/plugins/pychrysalide/analysis/contents/encapsulated.c
index 0b604c7..03db638 100644
--- a/plugins/pychrysalide/analysis/contents/encapsulated.c
+++ b/plugins/pychrysalide/analysis/contents/encapsulated.c
@@ -123,7 +123,7 @@ PyTypeObject *get_python_encaps_content_type(void)
.tp_methods = py_encaps_content_methods,
.tp_getset = py_encaps_content_getseters,
- .tp_new = (newfunc)py_encaps_content_new
+ .tp_new = py_encaps_content_new
};
diff --git a/plugins/pychrysalide/analysis/contents/file.c b/plugins/pychrysalide/analysis/contents/file.c
index a44263e..b7a217a 100644
--- a/plugins/pychrysalide/analysis/contents/file.c
+++ b/plugins/pychrysalide/analysis/contents/file.c
@@ -112,7 +112,7 @@ PyTypeObject *get_python_file_content_type(void)
.tp_methods = py_file_content_methods,
.tp_getset = py_file_content_getseters,
- .tp_new = (newfunc)py_file_content_new
+ .tp_new = py_file_content_new
};
diff --git a/plugins/pychrysalide/analysis/contents/memory.c b/plugins/pychrysalide/analysis/contents/memory.c
index ee8b13c..812c580 100644
--- a/plugins/pychrysalide/analysis/contents/memory.c
+++ b/plugins/pychrysalide/analysis/contents/memory.c
@@ -117,7 +117,7 @@ PyTypeObject *get_python_memory_content_type(void)
.tp_methods = py_memory_content_methods,
.tp_getset = py_memory_content_getseters,
- .tp_new = (newfunc)py_memory_content_new
+ .tp_new = py_memory_content_new
};
diff --git a/plugins/pychrysalide/analysis/contents/restricted.c b/plugins/pychrysalide/analysis/contents/restricted.c
index edd6666..eb16f13 100644
--- a/plugins/pychrysalide/analysis/contents/restricted.c
+++ b/plugins/pychrysalide/analysis/contents/restricted.c
@@ -135,7 +135,7 @@ PyTypeObject *get_python_restricted_content_type(void)
.tp_methods = py_restricted_content_methods,
.tp_getset = py_restricted_content_getseters,
- .tp_new = (newfunc)py_restricted_content_new
+ .tp_new = py_restricted_content_new
};
diff --git a/plugins/pychrysalide/analysis/db/items/comment.c b/plugins/pychrysalide/analysis/db/items/comment.c
index cae866f..3a12019 100644
--- a/plugins/pychrysalide/analysis/db/items/comment.c
+++ b/plugins/pychrysalide/analysis/db/items/comment.c
@@ -204,7 +204,7 @@ PyTypeObject *get_python_db_comment_type(void)
.tp_methods = py_db_comment_methods,
.tp_getset = py_db_comment_getseters,
- .tp_new = (newfunc)py_db_comment_new
+ .tp_new = py_db_comment_new
};
diff --git a/plugins/pychrysalide/analysis/routine.c b/plugins/pychrysalide/analysis/routine.c
index 1e255bb..efac248 100644
--- a/plugins/pychrysalide/analysis/routine.c
+++ b/plugins/pychrysalide/analysis/routine.c
@@ -641,7 +641,7 @@ PyTypeObject *get_python_binary_routine_type(void)
.tp_methods = py_binary_routine_methods,
.tp_getset = py_binary_routine_getseters,
- .tp_new = (newfunc)py_binary_routine_new
+ .tp_new = py_binary_routine_new
};
diff --git a/plugins/pychrysalide/analysis/types/array.c b/plugins/pychrysalide/analysis/types/array.c
index 0e6760a..5224d36 100644
--- a/plugins/pychrysalide/analysis/types/array.c
+++ b/plugins/pychrysalide/analysis/types/array.c
@@ -388,7 +388,7 @@ PyTypeObject *get_python_array_type_type(void)
.tp_methods = py_array_type_methods,
.tp_getset = py_array_type_getseters,
- .tp_new = (newfunc)py_array_type_new
+ .tp_new = py_array_type_new
};
diff --git a/plugins/pychrysalide/analysis/types/basic.c b/plugins/pychrysalide/analysis/types/basic.c
index f584bb6..1bb294b 100644
--- a/plugins/pychrysalide/analysis/types/basic.c
+++ b/plugins/pychrysalide/analysis/types/basic.c
@@ -157,7 +157,7 @@ PyTypeObject *get_python_basic_type_type(void)
.tp_methods = py_basic_type_methods,
.tp_getset = py_basic_type_getseters,
- .tp_new = (newfunc)py_basic_type_new
+ .tp_new = py_basic_type_new
};
diff --git a/plugins/pychrysalide/analysis/types/cse.c b/plugins/pychrysalide/analysis/types/cse.c
index 3444cc3..4643a8d 100644
--- a/plugins/pychrysalide/analysis/types/cse.c
+++ b/plugins/pychrysalide/analysis/types/cse.c
@@ -195,7 +195,7 @@ PyTypeObject *get_python_class_enum_type_type(void)
.tp_methods = py_class_enum_type_methods,
.tp_getset = py_class_enum_type_getseters,
- .tp_new = (newfunc)py_class_enum_type_new
+ .tp_new = py_class_enum_type_new
};
diff --git a/plugins/pychrysalide/analysis/types/encaps.c b/plugins/pychrysalide/analysis/types/encaps.c
index 3b5dc18..2961853 100644
--- a/plugins/pychrysalide/analysis/types/encaps.c
+++ b/plugins/pychrysalide/analysis/types/encaps.c
@@ -190,7 +190,7 @@ PyTypeObject *get_python_encapsulated_type_type(void)
.tp_methods = py_encapsulated_type_methods,
.tp_getset = py_encapsulated_type_getseters,
- .tp_new = (newfunc)py_encapsulated_type_new
+ .tp_new = py_encapsulated_type_new
};
diff --git a/plugins/pychrysalide/analysis/types/expr.c b/plugins/pychrysalide/analysis/types/expr.c
index 619b2da..0d68a60 100644
--- a/plugins/pychrysalide/analysis/types/expr.c
+++ b/plugins/pychrysalide/analysis/types/expr.c
@@ -148,7 +148,7 @@ PyTypeObject *get_python_expr_type_type(void)
.tp_methods = py_expr_type_methods,
.tp_getset = py_expr_type_getseters,
- .tp_new = (newfunc)py_expr_type_new
+ .tp_new = py_expr_type_new
};
diff --git a/plugins/pychrysalide/analysis/types/literal.c b/plugins/pychrysalide/analysis/types/literal.c
index 7299be6..e00104f 100644
--- a/plugins/pychrysalide/analysis/types/literal.c
+++ b/plugins/pychrysalide/analysis/types/literal.c
@@ -98,7 +98,7 @@ PyTypeObject *get_python_literal_type_type(void)
.tp_methods = py_literal_type_methods,
.tp_getset = py_literal_type_getseters,
- .tp_new = (newfunc)py_literal_type_new
+ .tp_new = py_literal_type_new
};
diff --git a/plugins/pychrysalide/analysis/types/override.c b/plugins/pychrysalide/analysis/types/override.c
index c4b57b6..896163f 100644
--- a/plugins/pychrysalide/analysis/types/override.c
+++ b/plugins/pychrysalide/analysis/types/override.c
@@ -209,7 +209,7 @@ PyTypeObject *get_python_override_type_type(void)
.tp_methods = py_override_type_methods,
.tp_getset = py_override_type_getseters,
- .tp_new = (newfunc)py_override_type_new
+ .tp_new = py_override_type_new
};
diff --git a/plugins/pychrysalide/analysis/types/proto.c b/plugins/pychrysalide/analysis/types/proto.c
index 0477f0d..a6046ab 100644
--- a/plugins/pychrysalide/analysis/types/proto.c
+++ b/plugins/pychrysalide/analysis/types/proto.c
@@ -277,7 +277,7 @@ PyTypeObject *get_python_proto_type_type(void)
.tp_methods = py_proto_type_methods,
.tp_getset = py_proto_type_getseters,
- .tp_new = (newfunc)py_proto_type_new
+ .tp_new = py_proto_type_new
};
diff --git a/plugins/pychrysalide/analysis/types/template.c b/plugins/pychrysalide/analysis/types/template.c
index cd2fa52..485eca4 100644
--- a/plugins/pychrysalide/analysis/types/template.c
+++ b/plugins/pychrysalide/analysis/types/template.c
@@ -273,7 +273,7 @@ PyTypeObject *get_python_template_type_type(void)
.tp_methods = py_template_type_methods,
.tp_getset = py_template_type_getseters,
- .tp_new = (newfunc)py_template_type_new
+ .tp_new = py_template_type_new
};
diff --git a/plugins/pychrysalide/arch/vmpa.c b/plugins/pychrysalide/arch/vmpa.c
index 883491f..fbc14dc 100644
--- a/plugins/pychrysalide/arch/vmpa.c
+++ b/plugins/pychrysalide/arch/vmpa.c
@@ -658,7 +658,7 @@ PyTypeObject *get_python_vmpa_type(void)
.tp_richcompare = py_vmpa_richcompare,
.tp_getset = py_vmpa_getseters,
- .tp_new = (newfunc)py_vmpa_new
+ .tp_new = py_vmpa_new
};
@@ -1224,7 +1224,7 @@ PyTypeObject *get_python_mrange_type(void)
.tp_methods = py_mrange_methods,
.tp_getset = py_mrange_getseters,
- .tp_new = (newfunc)py_mrange_new
+ .tp_new = py_mrange_new
};
diff --git a/plugins/pychrysalide/common/bits.c b/plugins/pychrysalide/common/bits.c
index e137213..62aeb6d 100644
--- a/plugins/pychrysalide/common/bits.c
+++ b/plugins/pychrysalide/common/bits.c
@@ -737,7 +737,7 @@ PyTypeObject *get_python_bitfield_type(void)
.tp_methods = py_bitfield_methods,
.tp_getset = py_bitfield_getseters,
- .tp_new = (newfunc)py_bitfield_new
+ .tp_new = py_bitfield_new
};
diff --git a/plugins/pychrysalide/debug/gdbrsp/gdb.c b/plugins/pychrysalide/debug/gdbrsp/gdb.c
index df56ca4..77b72b0 100644
--- a/plugins/pychrysalide/debug/gdbrsp/gdb.c
+++ b/plugins/pychrysalide/debug/gdbrsp/gdb.c
@@ -128,7 +128,7 @@ PyTypeObject *get_python_gdb_debugger_type(void)
.tp_methods = py_gdb_debugger_methods,
.tp_getset = py_gdb_debugger_getseters,
- .tp_new = (newfunc)py_gdb_debugger_new
+ .tp_new = py_gdb_debugger_new
};
diff --git a/plugins/pychrysalide/format/flat.c b/plugins/pychrysalide/format/flat.c
index 18ad414..3f32832 100644
--- a/plugins/pychrysalide/format/flat.c
+++ b/plugins/pychrysalide/format/flat.c
@@ -168,7 +168,7 @@ PyTypeObject *get_python_flat_format_type(void)
.tp_methods = py_flat_format_methods,
.tp_getset = py_flat_format_getseters,
- .tp_new = (newfunc)py_flat_format_new
+ .tp_new = py_flat_format_new
};
diff --git a/plugins/pychrysalide/format/symbol.c b/plugins/pychrysalide/format/symbol.c
index d2d1637..f75f762 100644
--- a/plugins/pychrysalide/format/symbol.c
+++ b/plugins/pychrysalide/format/symbol.c
@@ -416,7 +416,7 @@ PyTypeObject *get_python_binary_symbol_type(void)
.tp_methods = py_bin_symbol_methods,
.tp_getset = py_bin_symbol_getseters,
- .tp_new = (newfunc)py_binary_symbol_new
+ .tp_new = py_binary_symbol_new
};
diff --git a/plugins/pychrysalide/glibext/configuration.c b/plugins/pychrysalide/glibext/configuration.c
index 18ed5db..eb725ff 100644
--- a/plugins/pychrysalide/glibext/configuration.c
+++ b/plugins/pychrysalide/glibext/configuration.c
@@ -520,7 +520,7 @@ PyTypeObject *get_python_config_param_type(void)
.tp_methods = py_config_param_methods,
.tp_getset = py_config_param_getseters,
- .tp_new = (newfunc)py_config_param_new
+ .tp_new = py_config_param_new
};
@@ -1144,7 +1144,7 @@ PyTypeObject *get_python_generic_config_type(void)
.tp_methods = py_generic_config_methods,
.tp_getset = py_generic_config_getseters,
- .tp_new = (newfunc)py_generic_config_new
+ .tp_new = py_generic_config_new
};
diff --git a/plugins/pychrysalide/gtkext/displaypanel.c b/plugins/pychrysalide/gtkext/displaypanel.c
index 079ac73..ddcd654 100644
--- a/plugins/pychrysalide/gtkext/displaypanel.c
+++ b/plugins/pychrysalide/gtkext/displaypanel.c
@@ -126,7 +126,7 @@ PyTypeObject *get_python_display_panel_type(void)
.tp_methods = py_display_panel_methods,
.tp_getset = py_display_panel_getseters,
- //.tp_new = (newfunc)py_display_panel_new,
+ //.tp_new = py_display_panel_new,
//.tp_init = (initproc)pychrysalide_allow_args_for_gobjects
};