diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-01-11 20:05:15 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-01-11 20:05:15 +0000 |
commit | adccaadb57224f7a1b149e12862f845f3c729efa (patch) | |
tree | 20938609053905a1efdb7a1e42651f9f46138d53 /amiga/font_cache.h | |
parent | 4f7e2563c11626a10c5470773a8b588f8339c495 (diff) | |
download | netsurf-adccaadb57224f7a1b149e12862f845f3c729efa.tar.gz netsurf-adccaadb57224f7a1b149e12862f845f3c729efa.tar.bz2 |
More consistent naming for font cache elements
Diffstat (limited to 'amiga/font_cache.h')
-rw-r--r-- | amiga/font_cache.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/amiga/font_cache.h b/amiga/font_cache.h index bb462bcfa..813b67dd1 100644 --- a/amiga/font_cache.h +++ b/amiga/font_cache.h @@ -18,7 +18,7 @@ #ifndef AMIGA_FONT_CACHE_H #define AMIGA_FONT_CACHE_H -struct ami_font_node +struct ami_font_cache_node { #ifdef __amigaos4__ struct SkipNode skip_node; @@ -32,15 +32,18 @@ struct ami_font_node /* locate an entry in the font cache, NULL if not found */ -struct ami_font_node *ami_font_cache_locate(const char *font); +struct ami_font_cache_node *ami_font_cache_locate(const char *font); /* allocate a cache entry */ -struct ami_font_node *ami_font_cache_alloc_entry(const char *font); +struct ami_font_cache_node *ami_font_cache_alloc_entry(const char *font); /* insert a cache entry into the list (OS3) */ -void ami_font_cache_insert(struct ami_font_node *nodedata, const char *font); +void ami_font_cache_insert(struct ami_font_cache_node *nodedata, const char *font); +/* initialise the cache */ void ami_font_cache_init(void); + +/* cache clean-up */ void ami_font_cache_fini(void); #endif |