[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
Tue Jun 9 07:35:50 CEST 2009


vlc | branch: 1.0-bugfix | Pierre d'Herbemont <pdherbemont at free.fr> | Mon May 25 03:42:10 2009 -0700| [59c79c740cf3517b7fa96ebd0e4f98d950352102] | 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=59c79c740cf3517b7fa96ebd0e4f98d950352102
---

 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