pike.git/
src/
pike_types.cmod
Branch:
Tag:
Non-build tags
All tags
No tags
2020-12-18
2020-12-18 15:00:29 by Henrik Grubbström (Grubba) <grubba@grubba.org>
c16db2fd3e07e72154783d96f4d30211691de091 (
4
lines) (+
2
/-
2
)
[
Show
|
Annotate
]
Branch:
master
Compiler
[Typechecker]
: Use alloc_pike_type() to allocate types.
612:
} #endif
-
debug_malloc_pass(t =
ba_
alloc
(&type
_
allocator
));
+
debug_malloc_pass(t =
alloc
_
pike_type
());
t->refs = 0;
-
gc_init_marker(t);
+
add_ref(t); /* For DMALLOC... */ t->type = type; t->flags = 0;