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
f885af7b
Commit
f885af7b
authored
Feb 24, 2012
by
Vitja Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Order scope.buffer_vars by name
parent
4a009f36
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Cython/Compiler/Buffer.py
Cython/Compiler/Buffer.py
+2
-1
No files found.
Cython/Compiler/Buffer.py
View file @
f885af7b
...
...
@@ -50,6 +50,7 @@ class IntroduceBufferAuxiliaryVars(CythonTransform):
in
scope
.
entries
.
iteritems
()
if
entry
.
type
.
is_buffer
]
if
len
(
bufvars
)
>
0
:
bufvars
.
sort
(
key
=
lambda
entry
:
entry
.
name
)
self
.
buffers_exists
=
True
memviewslicevars
=
[
entry
for
name
,
entry
...
...
@@ -745,4 +746,4 @@ acquire_utility_code = load_buffer_utility("BufferFormatCheck",
_typeinfo_to_format_code
=
load_buffer_utility
(
"TypeInfoToFormat"
,
context
=
{},
requires
=
[
buffer_structs_code
])
typeinfo_compare_code
=
load_buffer_utility
(
"TypeInfoCompare"
,
context
=
{},
requires
=
[
buffer_structs_code
])
\ No newline at end of file
requires
=
[
buffer_structs_code
])
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