[vlc-devel] commit: libvlc: Don't use enum directly, it's a bad pratice for ABI compat. (Pierre d'Herbemont )

git version control git at videolan.org
Mon May 25 12:44:08 CEST 2009


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Mon May 25 03:42:10 2009 -0700| [33487c3c5bea564c147edb90ff6cedc5c5213f52] | committer: Pierre d'Herbemont 

libvlc: Don't use enum directly, it's a bad pratice for ABI compat.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=33487c3c5bea564c147edb90ff6cedc5c5213f52
---

 include/vlc/libvlc.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/vlc/libvlc.h b/include/vlc/libvlc.h
index bed66ea..6a56774 100644
--- a/include/vlc/libvlc.h
+++ b/include/vlc/libvlc.h
@@ -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




More information about the vlc-devel mailing list