Prefix global_symbols with ruby_
This commit is contained in:
parent
973431c059
commit
7069f64c41
4
.gdbinit
4
.gdbinit
@ -1073,9 +1073,9 @@ define print_id
|
||||
else
|
||||
set $serial = (rb_id_serial_t)$id
|
||||
end
|
||||
if $serial && $serial <= global_symbols.last_id
|
||||
if $serial && $serial <= ruby_global_symbols.last_id
|
||||
set $idx = $serial / ID_ENTRY_UNIT
|
||||
set $ids = (struct RArray *)global_symbols.ids
|
||||
set $ids = (struct RArray *)ruby_global_symbols.ids
|
||||
set $flags = $ids->basic.flags
|
||||
if ($flags & RUBY_FL_USER1)
|
||||
set $idsptr = $ids->as.ary
|
||||
|
3
gc.c
3
gc.c
@ -8080,7 +8080,8 @@ gc_ref_update(void *vstart, void *vend, size_t stride, void * data)
|
||||
return 0;
|
||||
}
|
||||
|
||||
extern rb_symbols_t global_symbols;
|
||||
extern rb_symbols_t ruby_global_symbols;
|
||||
#define global_symbols ruby_global_symbols
|
||||
|
||||
static void
|
||||
gc_update_references(rb_objspace_t * objspace)
|
||||
|
Loading…
x
Reference in New Issue
Block a user