]> granicus.if.org Git - libass/commit
ass: restore ABI compatibility with older versions (more or less)
authorwm4 <wm4@nowhere>
Fri, 28 Aug 2015 12:35:41 +0000 (14:35 +0200)
committerwm4 <wm4@nowhere>
Fri, 28 Aug 2015 12:51:35 +0000 (14:51 +0200)
commitc52af17682c130fa5324f9a4b4c53713c78cedaa
tree0ef3757be1e0c2183193c41e6455b41597dd919c
parentb658669c0df5ef3adacd92cc29a9e679bd8bdd2f
ass: restore ABI compatibility with older versions (more or less)

While enums normally are ints on most systems, it isn't guaranteed. This
might also make C++ code fail to compile, since C++ doesn't allow
implicit conversion of ints to enums.

If the API user ever passed anything other than 0 or 1, compatibility
will still break, but I guess we have to live with this.

Also extend the doxygen.
libass/ass.h
libass/ass_render_api.c