From 111b1598d5cd5775747fb177355e9e9890f970cc Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Sun, 18 Oct 2009 00:53:38 -0700 Subject: [PATCH] char reference need not be special like char* --- Cython/Compiler/PyrexTypes.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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) -- 2.26.2