[vlc-devel] commit: Remove GCCism ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu Sep 25 17:31:52 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Thu Sep 25 18:32:56 2008 +0300| [0e1e63f7a59ae868b2440bce15143d1cbd784770] | committer: Rémi Denis-Courmont 

Remove GCCism

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

 src/control/libvlc_internal.h |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/control/libvlc_internal.h b/src/control/libvlc_internal.h
index a291858..280eee4 100644
--- a/src/control/libvlc_internal.h
+++ b/src/control/libvlc_internal.h
@@ -342,11 +342,11 @@ void libvlc_event_send(
 
 /* Exception shorcuts */
 
-#define RAISENULL( psz,a... ) { libvlc_exception_raise( p_e, psz,##a ); \
-                                return NULL; }
-#define RAISEVOID( psz,a... ) { libvlc_exception_raise( p_e, psz,##a ); \
-                                return; }
-#define RAISEZERO( psz,a... ) { libvlc_exception_raise( p_e, psz,##a ); \
-                                return 0; }
+#define RAISENULL( ... ) { libvlc_exception_raise( p_e, __VA_ARGS__ ); \
+                           return NULL; }
+#define RAISEVOID( ... ) { libvlc_exception_raise( p_e, __VA_ARGS__ ); \
+                           return; }
+#define RAISEZERO( ... ) { libvlc_exception_raise( p_e, __VA_ARGS__ ); \
+                           return 0; }
 
 #endif




More information about the vlc-devel mailing list