Commit 9ec103c3 authored by MegaIng's avatar MegaIng Committed by Stefan Behnel

Remove illegal casting of structs when using ctuple (GH-3599)

Closes #3038.
parent 48b3fcfc
......@@ -4034,6 +4034,9 @@ class CTupleType(CType):
env.use_utility_code(self._convert_from_py_code)
return True
def cast_code(self, expr_code):
return expr_code
def c_tuple_type(components):
components = tuple(components)
......
......@@ -6,7 +6,6 @@ initial_file_path
package_compilation
carray_coercion
ctuple
int_float_builtins_as_casts_T400
int_float_builtins_as_casts_T400_long_double
list_pop
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment