mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-07-03 08:10:31 +02:00
Remove unused scm_make_cache
* libguile/cache-internal.h (scm_make_cache): Remove.
This commit is contained in:
parent
552960b3e2
commit
5fe6bc9d66
1 changed files with 1 additions and 9 deletions
|
@ -1,7 +1,7 @@
|
||||||
#ifndef SCM_CACHE_INTERNAL_H
|
#ifndef SCM_CACHE_INTERNAL_H
|
||||||
#define SCM_CACHE_INTERNAL_H
|
#define SCM_CACHE_INTERNAL_H
|
||||||
|
|
||||||
/* Copyright 2016,2018
|
/* Copyright 2016,2018,2025
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of Guile.
|
This file is part of Guile.
|
||||||
|
@ -45,14 +45,6 @@ struct scm_cache
|
||||||
struct scm_cache_entry entries[SCM_CACHE_SIZE];
|
struct scm_cache_entry entries[SCM_CACHE_SIZE];
|
||||||
};
|
};
|
||||||
|
|
||||||
static inline struct scm_cache*
|
|
||||||
scm_make_cache (void)
|
|
||||||
{
|
|
||||||
struct scm_cache *ret = scm_gc_typed_calloc (struct scm_cache);
|
|
||||||
ret->eviction_cookie = (scm_t_bits) ret;
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline int
|
static inline int
|
||||||
scm_cache_full_p (struct scm_cache *cache)
|
scm_cache_full_p (struct scm_cache *cache)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue