Commit 2d5ae922 authored by Olivier Aubert's avatar 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.
parent 7faca74c
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment