diff options
author | Grigori Goronzy <greg@blackbox> | 2009-07-28 23:48:10 +0200 |
---|---|---|
committer | Grigori Goronzy <greg@blackbox> | 2009-07-28 23:48:10 +0200 |
commit | 92c27466284694c7072446b69d07dcc8c20f7eb7 (patch) | |
tree | b9ca1143ffd80c4a4cf3fa59e983f70da37ed184 /libass/ass_types.h | |
parent | 764b4df68a5fde0a6ac524684b23ccf6057d6596 (diff) | |
download | libass-92c27466284694c7072446b69d07dcc8c20f7eb7.tar.bz2 libass-92c27466284694c7072446b69d07dcc8c20f7eb7.tar.xz |
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.
Diffstat (limited to 'libass/ass_types.h')
-rw-r--r-- | libass/ass_types.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libass/ass_types.h b/libass/ass_types.h index ddd88419..aeb45e41 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; |