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
654a6962
Commit
654a6962
authored
Nov 10, 2010
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more typing in Scanners.pxd for slightly faster scanning
parent
ff71b640
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Cython/Plex/Scanners.pxd
Cython/Plex/Scanners.pxd
+3
-3
No files found.
Cython/Plex/Scanners.pxd
View file @
654a6962
...
@@ -5,7 +5,7 @@ cdef class Scanner:
...
@@ -5,7 +5,7 @@ cdef class Scanner:
cdef
public
lexicon
cdef
public
lexicon
cdef
public
stream
cdef
public
stream
cdef
public
name
cdef
public
name
cdef
public
buffer
cdef
public
unicode
buffer
cdef
public
Py_ssize_t
buf_start_pos
cdef
public
Py_ssize_t
buf_start_pos
cdef
public
Py_ssize_t
next_pos
cdef
public
Py_ssize_t
next_pos
cdef
public
Py_ssize_t
cur_pos
cdef
public
Py_ssize_t
cur_pos
...
@@ -32,9 +32,9 @@ cdef class Scanner:
...
@@ -32,9 +32,9 @@ cdef class Scanner:
cpdef
tuple
position
(
self
)
cpdef
tuple
position
(
self
)
@
cython
.
locals
(
cur_pos
=
long
,
cur_line
=
long
,
cur_line_start
=
long
,
@
cython
.
locals
(
cur_pos
=
long
,
cur_line
=
long
,
cur_line_start
=
long
,
input_state
=
long
,
next_pos
=
long
,
input_state
=
long
,
next_pos
=
long
,
state
=
dict
,
buf_start_pos
=
long
,
buf_len
=
long
,
buf_index
=
long
,
buf_start_pos
=
long
,
buf_len
=
long
,
buf_index
=
long
,
trace
=
bint
,
discard
=
long
)
trace
=
bint
,
discard
=
long
,
data
=
unicode
,
buffer
=
unicode
)
cpdef
run_machine_inlined
(
self
)
cpdef
run_machine_inlined
(
self
)
cpdef
begin
(
self
,
state
)
cpdef
begin
(
self
,
state
)
...
...
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