diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-08-18 07:47:53 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-08-18 07:47:53 (GMT) |
commit | ef66e5930efdfccb6b7db125ada6908650e745da (patch) | |
tree | 49ee4ca6e32de55c93dae6ab48b44b0b78fad18f /plugins/pychrysalide/analysis | |
parent | 9167c2a44efba513aaf8cac6d5589c565ed14ddf (diff) |
Removed a useless cast in the Python bindings.
Diffstat (limited to 'plugins/pychrysalide/analysis')
-rw-r--r-- | plugins/pychrysalide/analysis/binary.c | 2 | ||||
-rw-r--r-- | plugins/pychrysalide/analysis/contents/encapsulated.c | 2 | ||||
-rw-r--r-- | plugins/pychrysalide/analysis/contents/file.c | 2 | ||||
-rw-r--r-- | plugins/pychrysalide/analysis/contents/memory.c | 2 | ||||
-rw-r--r-- | plugins/pychrysalide/analysis/contents/restricted.c | 2 | ||||
-rw-r--r-- | plugins/pychrysalide/analysis/db/items/comment.c | 2 | ||||
-rw-r--r-- | plugins/pychrysalide/analysis/routine.c | 2 | ||||
-rw-r--r-- | plugins/pychrysalide/analysis/types/array.c | 2 | ||||
-rw-r--r-- | plugins/pychrysalide/analysis/types/basic.c | 2 | ||||
-rw-r--r-- | plugins/pychrysalide/analysis/types/cse.c | 2 | ||||
-rw-r--r-- | plugins/pychrysalide/analysis/types/encaps.c | 2 | ||||
-rw-r--r-- | plugins/pychrysalide/analysis/types/expr.c | 2 | ||||
-rw-r--r-- | plugins/pychrysalide/analysis/types/literal.c | 2 | ||||
-rw-r--r-- | plugins/pychrysalide/analysis/types/override.c | 2 | ||||
-rw-r--r-- | plugins/pychrysalide/analysis/types/proto.c | 2 | ||||
-rw-r--r-- | plugins/pychrysalide/analysis/types/template.c | 2 |
16 files changed, 16 insertions, 16 deletions
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 }; |