vlc | branch: master | Olivier Aubert <[email protected]> | Thu Apr 7 15:53:52 2016 +0200| [2d5ae92293216c008dca8341749bc2fffeb76639] | committer: Olivier Aubert
Fix typedef declarations Define both identifier and typedef alias, as in the rest of the code. This convention is relied upon by the python bindings generator. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2d5ae92293216c008dca8341749bc2fffeb76639 --- include/vlc/libvlc_media_discoverer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/vlc/libvlc_media_discoverer.h b/include/vlc/libvlc_media_discoverer.h index 3458f36..da0eb9d 100644 --- a/include/vlc/libvlc_media_discoverer.h +++ b/include/vlc/libvlc_media_discoverer.h @@ -34,7 +34,7 @@ extern "C" { * Category of a media discoverer * \see libvlc_media_discoverer_list_get() */ -typedef enum { +typedef enum libvlc_media_discoverer_category { /** devices, like portable music player */ libvlc_media_discoverer_devices, /** LAN/WAN services, like Upnp, SMB, or SAP */ @@ -49,7 +49,7 @@ typedef enum { * Media discoverer description * \see libvlc_media_discoverer_list_get() */ -typedef struct { +typedef struct libvlc_media_discoverer_description { char *psz_name; char *psz_longname; libvlc_media_discoverer_category i_cat; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
