From: Robert Bradshaw Date: Sun, 18 Oct 2009 07:53:38 +0000 (-0700) Subject: char reference need not be special like char* X-Git-Tag: 0.13.beta0~353^2~40 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=111b1598d5cd5775747fb177355e9e9890f970cc;p=cython.git char reference need not be special like char* --- diff --git a/Cython/Compiler/PyrexTypes.py b/Cython/Compiler/PyrexTypes.py index e0105380..01d8c6af 100755 --- a/Cython/Compiler/PyrexTypes.py +++ b/Cython/Compiler/PyrexTypes.py @@ -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)