char reference need not be special like char*
authorRobert Bradshaw <robertwb@math.washington.edu>
Sun, 18 Oct 2009 07:53:38 +0000 (00:53 -0700)
committerRobert Bradshaw <robertwb@math.washington.edu>
Sun, 18 Oct 2009 07:53:38 +0000 (00:53 -0700)
Cython/Compiler/PyrexTypes.py

index e01053807dbe90b28a3af3b9464c5048f8a010f6..01d8c6af6dfb234e76060bbc1afb4f9856c65220 100755 (executable)
@@ -1925,9 +1925,7 @@ def c_ptr_type(base_type):
 
 def c_ref_type(base_type):
     # Construct a C reference type
-    if base_type is c_char_type:
-        return None #TODO (Danilo) create c_char_ref_type
-    elif base_type is error_type:
+    if base_type is error_type:
         return error_type
     else:
         return CReferenceType(base_type)