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
77c3bab6
Commit
77c3bab6
authored
Oct 27, 2008
by
Dag Sverre Seljebotn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Buffers.py: Remove dead code
parent
8c470d97
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
Cython/Compiler/Buffer.py
Cython/Compiler/Buffer.py
+0
-11
No files found.
Cython/Compiler/Buffer.py
View file @
77c3bab6
...
@@ -702,17 +702,6 @@ def get_getbuffer_code(dtype, code):
...
@@ -702,17 +702,6 @@ def get_getbuffer_code(dtype, code):
code
.
globalstate
.
use_utility_code
(
utilcode
,
name
)
code
.
globalstate
.
use_utility_code
(
utilcode
,
name
)
return
name
return
name
def
buffer_type_checker
(
dtype
,
code
):
# Creates a type checker function for the given type.
if
dtype
.
is_struct_or_union
:
assert
False
elif
dtype
.
is_int
or
dtype
.
is_float
:
# This includes simple typedef-ed types
funcname
=
get_getbuffer_code
(
dtype
,
code
)
else
:
assert
False
return
funcname
def
use_py2_buffer_functions
(
env
):
def
use_py2_buffer_functions
(
env
):
# Emulation of PyObject_GetBuffer and PyBuffer_Release for Python 2.
# Emulation of PyObject_GetBuffer and PyBuffer_Release for Python 2.
# For >= 2.6 we do double mode -- use the new buffer interface on objects
# For >= 2.6 we do double mode -- use the new buffer interface on objects
...
...
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