X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=bindings%2Fpython%2Fvlcglue.h;h=8c857c687a801dc57d1ef85476eed40c3ff06e11;hb=2d0e1cfb080f110be766c0dba1340364dc664dd4;hp=65da35ea47734747f6878b7423a7cea98505f11d;hpb=b1def0f0c8c5834ae9460b31f678504c24b86763;p=vlc diff --git a/bindings/python/vlcglue.h b/bindings/python/vlcglue.h index 65da35ea47..8c857c687a 100644 --- a/bindings/python/vlcglue.h +++ b/bindings/python/vlcglue.h @@ -40,7 +40,6 @@ typedef int Py_ssize_t; #define PY_SSIZE_T_MIN INT_MIN #endif -#define SELF ((MediaControl*)self) /********************************************************************** * Exceptions handling @@ -138,6 +137,7 @@ staticforward PyTypeObject vlcMedia_Type; #define LIBVLC_INSTANCE(self) (((vlcInstance*)self)->p_instance) #define LIBVLC_MEDIAPLAYER(self) (((vlcMediaPlayer*)self)->p_mp) #define LIBVLC_MEDIA(self) (((vlcMedia*)self)->p_media) +#define LIBVLC_MC(self) (((MediaControl*)self)->mc) #define LIBVLC_TRY libvlc_exception_init( &ex );