pike.git/
src/
stralloc.c
Branch:
Tag:
Non-build tags
All tags
No tags
2018-05-19
2018-05-19 21:30:55 by Arne Goedeke <el@laramies.com>
903a3d938b41f821188d8429e8825574470a2893 (
7
lines) (+
4
/-
3
)
[
Show
|
Annotate
]
Branch:
master
GC: fixed some more occasions of refs -> gc_refs
691:
{ struct pike_string * t = ba_alloc(&string_allocator); #ifdef PIKE_DEBUG
-
gc_init_marker(
&
t
->m
);
+
gc_init_marker(t);
#endif t->flags = STRING_NOT_HASHED|STRING_NOT_SHARED; t->size_shift = shift;
743:
if (!s) { s = ba_alloc(&string_allocator); #ifdef PIKE_DEBUG
-
gc_init_marker(
&
s
->m
);
+
gc_init_marker(s);
#endif s->flags = STRING_NOT_HASHED|STRING_NOT_SHARED;
1887:
} res = ba_alloc(&substring_allocator); #ifdef PIKE_DEBUG
-
gc_init_marker(&res->str
.m
);
+
gc_init_marker(&res->str);
#endif res->parent = s; s->flags |= STRING_IS_LOCKED; /* Make sure the string data isn't reallocated. */