Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
2b39d87f
Commit
2b39d87f
authored
Oct 19, 2015
by
furunkel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove gc_ prefix of mrb_gc fields
parent
2f8b0f66
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
53 additions
and
53 deletions
+53
-53
include/mruby/gc.h
include/mruby/gc.h
+5
-5
src/gc.c
src/gc.c
+48
-48
No files found.
include/mruby/gc.h
View file @
2b39d87f
...
@@ -63,14 +63,14 @@ typedef struct mrb_gc {
...
@@ -63,14 +63,14 @@ typedef struct mrb_gc {
#endif
#endif
int
arena_idx
;
int
arena_idx
;
mrb_gc_state
gc_
state
;
/* state of gc */
mrb_gc_state
state
;
/* state of gc */
int
current_white_part
;
/* make white object by white_part */
int
current_white_part
;
/* make white object by white_part */
struct
RBasic
*
gray_list
;
/* list of gray objects to be traversed incrementally */
struct
RBasic
*
gray_list
;
/* list of gray objects to be traversed incrementally */
struct
RBasic
*
atomic_gray_list
;
/* list of objects to be traversed atomically */
struct
RBasic
*
atomic_gray_list
;
/* list of objects to be traversed atomically */
size_t
gc_
live_after_mark
;
size_t
live_after_mark
;
size_t
gc_
threshold
;
size_t
threshold
;
int
gc_
interval_ratio
;
int
interval_ratio
;
int
gc_
step_ratio
;
int
step_ratio
;
mrb_bool
disabled
:
1
;
mrb_bool
disabled
:
1
;
mrb_bool
full
:
1
;
mrb_bool
full
:
1
;
mrb_bool
generational
:
1
;
mrb_bool
generational
:
1
;
...
...
src/gc.c
View file @
2b39d87f
This diff is collapsed.
Click to expand it.
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