Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gwenaël Samain
cython
Commits
111b1598
Commit
111b1598
authored
Oct 18, 2009
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
char reference need not be special like char*
parent
d19358be
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
Cython/Compiler/PyrexTypes.py
Cython/Compiler/PyrexTypes.py
+1
-3
No files found.
Cython/Compiler/PyrexTypes.py
View file @
111b1598
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment