Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pyston
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
Pyston
Commits
8399ad46
Commit
8399ad46
authored
Jun 03, 2014
by
Krzysztof Klinikowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replaced structs with classes
parent
747e4ea9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
src/runtime/dict.h
src/runtime/dict.h
+2
-1
src/runtime/list.h
src/runtime/list.h
+2
-1
src/runtime/tuple.h
src/runtime/tuple.h
+2
-1
No files found.
src/runtime/dict.h
View file @
8399ad46
...
...
@@ -21,7 +21,8 @@
namespace
pyston
{
extern
BoxedClass
*
dict_iterator_cls
;
struct
BoxedDictIterator
:
public
Box
{
class
BoxedDictIterator
:
public
Box
{
public:
enum
IteratorType
{
KeyIterator
,
ValueIterator
,
ItemIterator
};
BoxedDict
*
d
;
...
...
src/runtime/list.h
View file @
8399ad46
...
...
@@ -21,7 +21,8 @@
namespace
pyston
{
extern
BoxedClass
*
list_iterator_cls
;
struct
BoxedListIterator
:
public
Box
{
class
BoxedListIterator
:
public
Box
{
public:
BoxedList
*
l
;
int
pos
;
BoxedListIterator
(
BoxedList
*
l
);
...
...
src/runtime/tuple.h
View file @
8399ad46
...
...
@@ -21,7 +21,8 @@
namespace
pyston
{
extern
BoxedClass
*
tuple_iterator_cls
;
struct
BoxedTupleIterator
:
public
Box
{
class
BoxedTupleIterator
:
public
Box
{
public:
BoxedTuple
*
t
;
int
pos
;
BoxedTupleIterator
(
BoxedTuple
*
t
);
...
...
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