[vlc-commits] Define class conversion for log subscriber API
Olivier Aubert
git at videolan.org
Thu Jun 14 15:27:18 CEST 2012
vlc/python | branch: master | Olivier Aubert <olivier.aubert at liris.cnrs.fr> | Fri Jun 8 15:48:24 2012 +0200| [da60447458582ef0ca2b1574e8bfe9031804317c] | committer: Olivier Aubert
Define class conversion for log subscriber API
> http://git.videolan.org/gitweb.cgi/vlc/python.git/?a=commit;h=da60447458582ef0ca2b1574e8bfe9031804317c
---
generate.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/generate.py b/generate.py
index 48ff6dc..eb8993b 100755
--- a/generate.py
+++ b/generate.py
@@ -702,6 +702,7 @@ class PythonGenerator(_Generator):
'libvlc_instance_t*': 'Instance',
'libvlc_log_t*': 'Log',
'libvlc_log_iterator_t*': 'LogIterator',
+ 'libvlc_log_subscriber_t*': 'ctypes.c_void_p', # Opaque struct, do not mess with it.
'libvlc_log_message_t*': 'ctypes.POINTER(LogMessage)',
'libvlc_media_t*': 'Media',
'libvlc_media_discoverer_t*': 'MediaDiscoverer',
@@ -716,6 +717,7 @@ class PythonGenerator(_Generator):
'libvlc_time_t': 'ctypes.c_longlong',
'libvlc_track_description_t*': 'ctypes.POINTER(TrackDescription)',
'libvlc_module_description_t*': 'ctypes.POINTER(ModuleDescription)',
+ 'FILE*': 'FILE_ptr',
'...': 'FIXME_va_list',
'va_list': 'FIXME_va_list',
More information about the vlc-commits
mailing list