# HG changeset patch # User eugeni # Date 1164573486 0 # Node ID cda1a5ebc150a2049d41771089c71d91aaf085ac # Parent 4e7a7dea3e1f965cdf5e08ecb2336f88e6ace325 Move ass_font_t to header. diff -r 4e7a7dea3e1f -r cda1a5ebc150 libass/ass_cache.c --- a/libass/ass_cache.c Sun Nov 26 20:34:54 2006 +0000 +++ b/libass/ass_cache.c Sun Nov 26 20:38:06 2006 +0000 @@ -31,14 +31,6 @@ #include "ass_bitmap.h" #include "ass_cache.h" - -typedef struct ass_font_s { - ass_font_desc_t desc; - char* path; - int index; - FT_Face face; -} ass_font_t; - #define MAX_FONT_CACHE_SIZE 100 static ass_font_t* font_cache; diff -r 4e7a7dea3e1f -r cda1a5ebc150 libass/ass_cache.h --- a/libass/ass_cache.h Sun Nov 26 20:34:54 2006 +0000 +++ b/libass/ass_cache.h Sun Nov 26 20:38:06 2006 +0000 @@ -33,6 +33,13 @@ unsigned italic; } ass_font_desc_t; +typedef struct ass_font_s { + ass_font_desc_t desc; + char* path; + int index; + FT_Face face; +} ass_font_t; + void ass_font_cache_init(void); int ass_new_font(FT_Library library, void* fontconfig_priv, ass_font_desc_t* desc, /*out*/ FT_Face* face); void ass_font_cache_done(void);