]> git.sesse.net Git - vlc/blobdiff - bindings/python-ctypes/footer.py
python-ctypes: fix enum names conversion
[vlc] / bindings / python-ctypes / footer.py
index b336629b70e1c19cc2bcfba632004fffb2dd5a5f..6c0d78815cefccd1e157404d55f806b4dc6c3ee2 100644 (file)
@@ -1,4 +1,4 @@
-# Footer code.
+### Start of footer.py ###
 
 class MediaEvent(ctypes.Structure):
     _fields_ = [
@@ -28,7 +28,7 @@ class EventUnion(ctypes.Union):
 
 class Event(ctypes.Structure):
     _fields_ = [
-        ('type', EventTypeT),
+        ('type', EventType),
         ('object', ctypes.c_void_p),
         ('u', EventUnion),
         ]