1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-18 21:06:00 +00:00

client API: remove trailing "," from enums

This is allowed in C99 and C++11, but apparently not in C89 and C++98.

Make it conform to the older standards, since we want the client API
header to be highly portable.
This commit is contained in:
wm4 2014-02-22 22:58:11 +01:00
parent 4123c2a708
commit 47aeb22b75

View File

@ -216,7 +216,7 @@ typedef enum mpv_error {
/**
* Error setting or getting a property.
*/
MPV_ERROR_PROPERTY_ERROR = -11,
MPV_ERROR_PROPERTY_ERROR = -11
} mpv_error;
/**
@ -388,7 +388,7 @@ typedef enum mpv_format {
*
* Only valid when doing read access. The rest works like MPV_FORMAT_STRING.
*/
MPV_FORMAT_OSD_STRING = 2,
MPV_FORMAT_OSD_STRING = 2
} mpv_format;
/**
@ -643,7 +643,7 @@ typedef enum mpv_event_id {
* unspecified whether this happens on file start or only when it changes
* within a file.)
*/
MPV_EVENT_METADATA_UPDATE = 19,
MPV_EVENT_METADATA_UPDATE = 19
} mpv_event_id;
/**