[maemo-commits] [maemo-commits] r8422 - in projects/haf/trunk/python-hildon: . defs
From: www-data at stage.maemo.org www-data at stage.maemo.orgDate: Tue Nov 28 21:00:34 EET 2006
- Previous message: [maemo-commits] r8421 - projects/haf/hafbuildbot
- Next message: [maemo-commits] r8423 - projects/haf/trunk/pygtk
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: luciano
Date: 2006-11-28 21:00:25 +0200 (Tue, 28 Nov 2006)
New Revision: 8422
Added:
projects/haf/trunk/python-hildon/defs/missing-types.defs
Modified:
projects/haf/trunk/python-hildon/defs/hildon-app.defs
projects/haf/trunk/python-hildon/setup.py
Log:
Adding some missing types to codegen
Modified: projects/haf/trunk/python-hildon/defs/hildon-app.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/hildon-app.defs 2006-11-28 18:07:19 UTC (rev 8421)
+++ projects/haf/trunk/python-hildon/defs/hildon-app.defs 2006-11-28 19:00:25 UTC (rev 8422)
@@ -20,7 +20,6 @@
; )
;)
-
;; From hildon-app.h
;(define-function hildon_zoom_level_get_type
@@ -144,7 +143,7 @@
(return-type "gboolean")
(parameters
'("gpointer" "view_ptr")
- '("unsigned-long" "view_id")
+ '("unsigned long" "view_id")
)
)
@@ -162,7 +161,7 @@
(c-name "hildon_app_unregister_view_with_id")
(return-type "none")
(parameters
- '("unsigned-long" "view_id")
+ '("unsigned long" "view_id")
)
)
Added: projects/haf/trunk/python-hildon/defs/missing-types.defs
===================================================================
--- projects/haf/trunk/python-hildon/defs/missing-types.defs 2006-11-28 18:07:19 UTC (rev 8421)
+++ projects/haf/trunk/python-hildon/defs/missing-types.defs 2006-11-28 19:00:25 UTC (rev 8422)
@@ -0,0 +1,7 @@
+(define-pointer Gpointer
+ (c-name "gpointer")
+)
+
+(define-pointer Ulong
+ (c-name "unsigned long")
+)
Modified: projects/haf/trunk/python-hildon/setup.py
===================================================================
--- projects/haf/trunk/python-hildon/setup.py 2006-11-28 18:07:19 UTC (rev 8421)
+++ projects/haf/trunk/python-hildon/setup.py 2006-11-28 19:00:25 UTC (rev 8422)
@@ -38,12 +38,13 @@
filenames = ['hildon',]
for filename in filenames:
cmdtoexec = 'pygtk-codegen-2.0 \
- --register '+defsdir+'/gdk.defs \
+ --register '+defsdir+'/gdk.defs \
--register '+defsdir+'/gtk-types.defs \
--register '+defsdir+'/gtk.defs \
--register '+defsdir+'/gtk-base.defs \
--register '+defsdir+'/pango-types.defs \
- --register defs/hildon-grid-item.defs \
+ --register defs/missing-types.defs \
+ --register defs/hildon-grid-item.defs \
--override '+filename+'.override \
--prefix py'+filename+' '+filename+'.defs > gen-'+filename+'.c \
&& cp gen-'+filename+'.c '+filename+'.c \
- Previous message: [maemo-commits] r8421 - projects/haf/hafbuildbot
- Next message: [maemo-commits] r8423 - projects/haf/trunk/pygtk
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
