326 |
SCM_API void scm_mark_locations (SCM_STACKITEM x[], unsigned long n); |
SCM_API void scm_mark_locations (SCM_STACKITEM x[], unsigned long n); |
327 |
SCM_API int scm_cellp (SCM value); |
SCM_API int scm_cellp (SCM value); |
328 |
SCM_API void scm_gc_sweep (void); |
SCM_API void scm_gc_sweep (void); |
329 |
|
|
330 |
|
SCM_API void *scm_malloc (size_t size); |
331 |
|
SCM_API void *scm_realloc (void *mem, size_t size); |
332 |
|
SCM_API char *scm_strdup (const char *str); |
333 |
|
SCM_API char *scm_strndup (const char *str, size_t n); |
334 |
|
SCM_API void scm_gc_register_collectable_memory (void *mem, size_t size, |
335 |
|
const char *what); |
336 |
|
SCM_API void scm_gc_unregister_collectable_memory (void *mem, size_t size, |
337 |
|
const char *what); |
338 |
|
SCM_API void *scm_gc_malloc (size_t size, const char *what); |
339 |
|
SCM_API void *scm_gc_realloc (void *mem, size_t old_size, |
340 |
|
size_t new_size, const char *what); |
341 |
|
SCM_API void scm_gc_free (void *mem, size_t size, const char *what); |
342 |
|
SCM_API char *scm_gc_strdup (const char *str, const char *what); |
343 |
|
SCM_API char *scm_gc_strndup (const char *str, size_t n, const char *what); |
344 |
|
|
345 |
SCM_API void * scm_must_malloc (size_t len, const char *what); |
SCM_API void * scm_must_malloc (size_t len, const char *what); |
346 |
SCM_API void * scm_must_realloc (void *where, |
SCM_API void * scm_must_realloc (void *where, |
347 |
size_t olen, size_t len, |
size_t olen, size_t len, |