[vlc-commits] Define conversion items and blacklist a function
Olivier Aubert
git at videolan.org
Thu Apr 7 23:48:44 CEST 2016
vlc/python | branch: master | Olivier Aubert <contact at olivieraubert.net> | Thu Apr 7 15:51:28 2016 +0200| [1308ac5fbd5c7693c0f57f3e42ececdd2a041206] | committer: Olivier Aubert
Define conversion items and blacklist a function
> http://git.videolan.org/gitweb.cgi/vlc/python.git/?a=commit;h=1308ac5fbd5c7693c0f57f3e42ececdd2a041206
---
generator/generate.py | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/generator/generate.py b/generator/generate.py
index c0808a6..97d7359 100755
--- a/generator/generate.py
+++ b/generator/generate.py
@@ -87,6 +87,8 @@ _blacklist = {
'libvlc_audio_output_get_device_type': '',
'libvlc_set_exit_handler': '',
'libvlc_printerr': '',
+ # Waiting for some structure wrapping
+ 'libvlc_dialog_set_callbacks': '',
}
# Set of functions that return a string that the caller is
@@ -803,6 +805,7 @@ class PythonGenerator(_Generator):
'libvlc_audio_output_t*': 'ctypes.POINTER(AudioOutput)',
'libvlc_event_t*': 'ctypes.c_void_p',
#'libvlc_callback_t': 'ctypes.c_void_p',
+ 'libvlc_dialog_id*': 'ctypes.c_void_p',
'libvlc_drawable_t': 'ctypes.c_uint', # FIXME?
'libvlc_event_type_t': 'ctypes.c_uint',
'libvlc_event_manager_t*': 'EventManager',
@@ -815,6 +818,8 @@ class PythonGenerator(_Generator):
'libvlc_media_track_t***': 'ctypes.POINTER(ctypes.POINTER(MediaTrack))',
'libvlc_media_t*': 'Media',
'libvlc_media_discoverer_t*': 'MediaDiscoverer',
+ 'libvlc_media_discoverer_description**': 'ctypes.POINTER(MediaDiscovererDescription)',
+ 'libvlc_media_discoverer_description***': 'ctypes.POINTER(ctypes.POINTER(MediaDiscovererDescription))',
'libvlc_media_library_t*': 'MediaLibrary',
'libvlc_media_list_t*': 'MediaList',
'libvlc_media_list_player_t*': 'MediaListPlayer',
More information about the vlc-commits
mailing list