From 92c27466284694c7072446b69d07dcc8c20f7eb7 Mon Sep 17 00:00:00 2001 From: Grigori Goronzy Date: Tue, 28 Jul 2009 23:48:10 +0200 Subject: Bring back names for public types For the event/style/track types, bring back the struct name, but without the _s suffix. This is useful for forward declaration of these types. --- libass/ass_types.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libass/ass_types.h b/libass/ass_types.h index ddd8841..aeb45e4 100644 --- a/libass/ass_types.h +++ b/libass/ass_types.h @@ -37,7 +37,7 @@ typedef struct parser_priv parser_priv_t; typedef struct ass_library ass_library_t; /* ASS Style: line */ -typedef struct { +typedef struct ass_style { char *Name; char *FontName; double FontSize; @@ -68,7 +68,7 @@ typedef struct { * ass_event_t corresponds to a single Dialogue line; * text is stored as-is, style overrides will be parsed later. */ -typedef struct { +typedef struct ass_event { long long Start; // ms long long Duration; // ms @@ -90,7 +90,7 @@ typedef struct { * (no real difference between them); it can be used in rendering after the * headers are parsed (i.e. events format line read). */ -typedef struct { +typedef struct ass_track { int n_styles; // amount used int max_styles; // amount allocated int n_events; -- cgit v1.2.3