Commit 5446ec29 authored by Robert Bradshaw's avatar Robert Bradshaw

Dissallow bint type for memoryviews.

parent 0f19c18b
......@@ -180,6 +180,9 @@ def valid_memslice_dtype(dtype, i=0):
if dtype.is_complex and dtype.real_type.is_int:
return False
if dtype is PyrexTypes.c_bint_type:
return False
if dtype.is_struct and dtype.kind == 'struct':
for member in dtype.scope.var_entries:
if not valid_memslice_dtype(member.type):
......
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