[vlc-commits] commit: python bindings: blacklist libvlc_video_set_callbacks ( Olivier Aubert )

git at videolan.org git at videolan.org
Mon Jul 19 11:23:56 CEST 2010


vlc/python | branch: master | Olivier Aubert <olivier.aubert at liris.cnrs.fr> | Mon Jul 19 11:23:07 2010 +0200| [7917d1622ccd47129ed0f280e45850c48f86adf8] | committer: Olivier Aubert 

python bindings: blacklist libvlc_video_set_callbacks

The parsing code should be improved to grok function callback
definitions before un-blacklisting these functions.

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

 generate.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/generate.py b/generate.py
index e567424..fae38e7 100755
--- a/generate.py
+++ b/generate.py
@@ -57,6 +57,7 @@ class DefaultDict(dict):
 # Methods not decorated/not referenced
 blacklist=[
     "libvlc_set_exit_handler",
+    "libvlc_video_set_callbacks",
     ]
 
 # Precompiled regexps
@@ -318,7 +319,8 @@ class PythonGenerator(object):
         'short': 'ctypes.c_short',
         'char*': 'ctypes.c_char_p',
         'char**': 'ListPOINTER(ctypes.c_char_p)',
-        'uint32_t': 'ctypes.c_uint',
+        'uint32_t': 'ctypes.c_uint32',
+        'int64_t': 'ctypes.c_int64',
         'float': 'ctypes.c_float',
         'unsigned': 'ctypes.c_uint',
         'unsigned*': 'ctypes.POINTER(ctypes.c_uint)',



More information about the vlc-commits mailing list