[vlc-commits] commit: convert.py: minor changes; to be extended to handle functions pointers (Filippo Carone )

git at videolan.org git at videolan.org
Tue Aug 24 18:15:11 CEST 2010


vlc/jvlc | branch: master | Filippo Carone <littlejohn at videolan.org> | Sat Jul 31 02:29:13 2010 +0200| [846fbe4e88addd178f3ed88586b9fd6527f1957e] | committer: Filippo Carone 

convert.py: minor changes; to be extended to handle functions pointers

> http://git.videolan.org/gitweb.cgi/vlc/jvlc.git/?a=commit;h=846fbe4e88addd178f3ed88586b9fd6527f1957e
---

 extras/convert.py |   36 ++++++++++++++++++++----------------
 1 files changed, 20 insertions(+), 16 deletions(-)

diff --git a/extras/convert.py b/extras/convert.py
index 8a67d3d..af2e9ad 100755
--- a/extras/convert.py
+++ b/extras/convert.py
@@ -30,37 +30,41 @@ types_map = [
 	["...", "String... args"],
 	["(void)", "()"],
 	["const char * const *", "String[] "],
+	["const char * const*", "String[] "],
 	["const ", ""],
-        ["const*", "String[]"],
+        ["const*", "String[] "],
 	["VLC_PUBLIC_API ", ""],
 	["char**", "String[] "],
 	["char **" , "String[] "],
 	["char*" , "String "],
 	["char *" , "String "],
-	["libvlc_audio_output_t *", "LibVlcAudioOutput"],
-	["libvlc_callback_t", "LibVlcCallback"],
+	["libvlc_audio_output_t *", "LibVlcAudioOutput "],
+	["libvlc_callback_t", "LibVlcCallback "],
 	["libvlc_event_manager_t *", "LibVlcEventManager "],
-	["libvlc_event_type_t", "int"],
+	["libvlc_event_type_t", "int "],
 	["libvlc_exception_t *", "libvlc_exception_t "],
 	["libvlc_instance_t *", "LibVlcInstance "],
 	["libvlc_log_t *", "LibVlcLog "],
 	["libvlc_log_iterator_t *", "LibVlcLogIterator "],
 	["libvlc_log_message_t *", "libvlc_log_message_t "],
-	["libvlc_media_discoverer_t *", "LibVlcMediaDiscoverer"],
-	["libvlc_media_library_t *", "LibVlcMediaLibrary"],
-	["VLC_FORWARD_DECLARE_OBJECT(libvlc_media_list_t *)", "LibVlcMediaList"],
-	["libvlc_media_list_t *", "LibVlcMediaList"],
-	["libvlc_media_list_player_t *", "LibVlcMediaListPlayer"],
-	["libvlc_media_list_view_t *", "LibVlcMediaListView"],
+	["libvlc_media_discoverer_t *", "LibVlcMediaDiscoverer "],
+	["libvlc_media_library_t *", "LibVlcMediaLibrary "],
+	["VLC_FORWARD_DECLARE_OBJECT(libvlc_media_list_t *)", "LibVlcMediaList "],
+	["libvlc_media_list_t *", "LibVlcMediaList "],
+	["libvlc_media_list_player_t *", "LibVlcMediaListPlayer "],
+	["libvlc_media_list_view_t *", "LibVlcMediaListView "],
         ["libvlc_media_t *", "LibVlcMedia "],
         ["libvlc_media_player_t *", "LibVlcMediaPlayer "],
-	["libvlc_meta_t", "Meta"],
-	["libvlc_state_t", "int"],
-	["libvlc_time_t", "long"],
+	["libvlc_meta_t", "Meta "],
+	["libvlc_state_t", "int "],
+	["libvlc_time_t", "long "],
 	["libvlc_track_description_t *", "LibVlcTrackDescription "],
-	["uint32_t", "long"],
-	["unsigned int", "int"],
-	["unsigned", "int"],
+	["uint32_t", "int "],
+	["int64_t", "long "],
+	["unsigned int", "int "],
+	["int *", "Pointer "],
+	["unsigned *", "Pointer "],
+	["unsigned", "int "],
         ["void *", "Pointer "]
 ]
 



More information about the vlc-commits mailing list