diff options
author | Grigori Goronzy <greg@blackbox> | 2009-07-26 16:03:37 +0200 |
---|---|---|
committer | Grigori Goronzy <greg@blackbox> | 2009-07-26 16:03:37 +0200 |
commit | f21c5b6b2788d1ba2073cb4066eedee0de1b249e (patch) | |
tree | 027a48eea625849f03c4756f770ad101b8a080a7 /libass/ass_library.h | |
parent | 311ec23031e257a8edde5153b09a5d0c2d6b0f6b (diff) | |
download | libass-f21c5b6b2788d1ba2073cb4066eedee0de1b249e.tar.bz2 libass-f21c5b6b2788d1ba2073cb4066eedee0de1b249e.tar.xz |
Improve message callback API
Instead of passing a pointer to a va_list, pass the va_list itself.
Additionally, use const char for the format string and use names in
the prototype that describe the arguments' meaning.
Diffstat (limited to 'libass/ass_library.h')
-rw-r--r-- | libass/ass_library.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libass/ass_library.h b/libass/ass_library.h index 85b0842d..e6b37e87 100644 --- a/libass/ass_library.h +++ b/libass/ass_library.h @@ -36,7 +36,7 @@ struct ass_library_s { ass_fontdata_t *fontdata; int num_fontdata; - void (*msg_callback)(int, char *, va_list *, void *); + void (*msg_callback)(int, const char *, va_list, void *); void *msg_callback_data; }; |