[vlc-commits] python: fix struct name

Olivier Aubert git at videolan.org
Thu Apr 8 12:57:26 UTC 2021


vlc/python | branch: master | Olivier Aubert <contact at olivieraubert.net> | Thu Apr  8 14:57:11 2021 +0200| [81ea5b1ecdace9fa38c62852419d1f0d87fee0b4] | committer: Olivier Aubert

python: fix struct name

> http://git.videolan.org/gitweb.cgi/vlc/python.git/?a=commit;h=81ea5b1ecdace9fa38c62852419d1f0d87fee0b4
---

 generator/generate.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/generator/generate.py b/generator/generate.py
index 33937e7..1e21653 100755
--- a/generator/generate.py
+++ b/generator/generate.py
@@ -56,7 +56,7 @@ __all__     = ('Parser',
 
 # Version number MUST have a major < 10 and a minor < 99 so that the
 # generated dist version can be correctly generated.
-__version__ =  '1.16'
+__version__ =  '1.17'
 
 _debug = False
 
@@ -1011,8 +1011,8 @@ class PythonGenerator(_Generator):
         'libvlc_media_thumbnail_request_t*':  'MediaThumbnailRequest', # Opaque struct, do not mess with it.
         'libvlc_renderer_item_t*':    'Renderer',
         'libvlc_renderer_discoverer_t*':    'RendererDiscoverer',
-        'libvlc_rd_description_t**': 'ctypes.POINTER(ctypes.POINTER(RDDescription))',
-        'libvlc_rd_description_t***': 'ctypes.POINTER(ctypes.POINTER(ctypes.POINTER(RDDescription)))',
+        'libvlc_rd_description_t**': 'ctypes.POINTER(ctypes.POINTER(RdDescription))',
+        'libvlc_rd_description_t***': 'ctypes.POINTER(ctypes.POINTER(ctypes.POINTER(RdDescription)))',
         'libvlc_media_track_info_t**': 'ctypes.POINTER(ctypes.c_void_p)',
         'libvlc_rectangle_t*':         'ctypes.POINTER(Rectangle)',
         'libvlc_time_t':               'ctypes.c_longlong',



More information about the vlc-commits mailing list