]> git.sesse.net Git - vlc/commitdiff
libvlc: Don't use enum directly, it's a bad pratice for ABI compat.
authorPierre d'Herbemont <pdherbemont@free.fr>
Mon, 25 May 2009 10:42:10 +0000 (03:42 -0700)
committerPierre d'Herbemont <pdherbemont@free.fr>
Mon, 25 May 2009 10:44:01 +0000 (03:44 -0700)
include/vlc/libvlc.h

index bed66eaa7a18cc564c30e65383a322f09e9ca9c3..6a56774bb95eade041fcfc85962de338462add39 100644 (file)
@@ -251,7 +251,7 @@ VLC_PUBLIC_API void libvlc_free( void *ptr );
 
 typedef struct libvlc_event_manager_t libvlc_event_manager_t;
 typedef struct libvlc_event_t libvlc_event_t;
-typedef enum libvlc_event_type_t libvlc_event_type_t;
+typedef uint32_t libvlc_event_type_t;
     
 /**
  * Callback function notification