summaryrefslogtreecommitdiffstats
path: root/libass/ass.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-03-19 12:58:23 +0100
committerOleg Oshmyan <chortos@inbox.lv>2020-03-29 23:49:38 +0300
commit3e088dc4e59714a7d150043e58de627d015b8051 (patch)
tree9b7df0dce3e087977c3d5a9c65b975771a971327 /libass/ass.h
parentf353ccf1f3efa6c4ccddee1713b62f1c49627619 (diff)
downloadlibass-3e088dc4e59714a7d150043e58de627d015b8051.tar.bz2
libass-3e088dc4e59714a7d150043e58de627d015b8051.tar.xz
API: clarify how new fields can be added to public types
This just gives a minor hint that all fields are frozen, but that the size of the structs are not part of the ABI. Most importantly, ASS_Style and ASS_Event are completely ABI-frozen, because ASS_Track has the "styles" and "events" arrays.
Diffstat (limited to 'libass/ass.h')
-rw-r--r--libass/ass.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libass/ass.h b/libass/ass.h
index cad25ae..78951a9 100644
--- a/libass/ass.h
+++ b/libass/ass.h
@@ -56,6 +56,7 @@ typedef struct ass_image {
IMAGE_TYPE_SHADOW
} type;
+ // New fields can be added here in new ABI-compatible library releases.
} ASS_Image;
/*
@@ -170,6 +171,7 @@ typedef enum {
* On dialogue events override: Justify
*/
ASS_OVERRIDE_BIT_JUSTIFY = 1 << 10,
+ // New enum values can be added here in new ABI-compatible library releases.
} ASS_OverrideBits;
/**