ffff
This commit is contained in:
parent
7552d2fa2a
commit
4b6f76b6c8
6 changed files with 125 additions and 63 deletions
|
|
@ -1,10 +1,13 @@
|
|||
#ifndef _CACHE_H
|
||||
#define _CACHE_H
|
||||
|
||||
#define CACHE_SIZE 512
|
||||
|
||||
void cache_init(void);
|
||||
void cache_destroy(void);
|
||||
struct font_glyph * cache_get(unsigned int code);
|
||||
int cache_insert(struct font_glyph *g);
|
||||
const struct font_glyph * cache_search(unsigned int code);
|
||||
unsigned int cache_get(void);
|
||||
const struct font_glyph * cache_insert(struct font_glyph *g, unsigned int idx);
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue