Commit 111b1598 authored by Robert Bradshaw's avatar Robert Bradshaw

char reference need not be special like char*

parent d19358be
...@@ -1925,9 +1925,7 @@ def c_ptr_type(base_type): ...@@ -1925,9 +1925,7 @@ def c_ptr_type(base_type):
def c_ref_type(base_type): def c_ref_type(base_type):
# Construct a C reference type # Construct a C reference type
if base_type is c_char_type: if base_type is error_type:
return None #TODO (Danilo) create c_char_ref_type
elif base_type is error_type:
return error_type return error_type
else: else:
return CReferenceType(base_type) return CReferenceType(base_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