* mallocs.c (scm_malloc_obj): use scm_gc_malloc in stead of
malloc. * gc-segment.c (scm_i_get_new_heap_segment): remove cluster cruft: only use SCM_MIN_HEAP_SEG_SIZE. * ports.c (scm_add_to_port_table): add backwards compatibility function * ports.h: use scm_i_ prefix for port table and port table size.
This commit is contained in:
parent
f07c886abb
commit
67329a9eef
22 changed files with 107 additions and 77 deletions
|
|
@ -87,7 +87,7 @@ scm_c_issue_deprecation_warning (const char *msg)
|
|||
scm_newline (scm_current_error_port ());
|
||||
}
|
||||
msg = strdup (msg);
|
||||
iw = malloc (sizeof (struct issued_warning));
|
||||
iw = scm_malloc (sizeof (struct issued_warning));
|
||||
if (msg == NULL || iw == NULL)
|
||||
return;
|
||||
iw->message = msg;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue