r4667 - in trunk/src/host/pye17: . codegen evas

marek at docs.openmoko.org marek at docs.openmoko.org
Thu Sep 25 05:24:43 CEST 2008


Author: marek
Date: 2008-09-25 05:24:41 +0200 (Thu, 25 Sep 2008)
New Revision: 4667

Modified:
   trunk/src/host/pye17/Makefile
   trunk/src/host/pye17/codegen/argtypes.py
   trunk/src/host/pye17/codegen/h2def.py
   trunk/src/host/pye17/evas/evas.override
Log:
add ecore_evas support
minor fixes



Modified: trunk/src/host/pye17/Makefile
===================================================================
--- trunk/src/host/pye17/Makefile	2008-09-24 15:40:29 UTC (rev 4666)
+++ trunk/src/host/pye17/Makefile	2008-09-25 03:24:41 UTC (rev 4667)
@@ -19,7 +19,7 @@
 PYTHON = $(shell which python)
 
 
-e_bindings = evas ecore
+e_bindings = evas ecore ecore_evas
 
 ### ToDo ###
 # ecore

Modified: trunk/src/host/pye17/codegen/argtypes.py
===================================================================
--- trunk/src/host/pye17/codegen/argtypes.py	2008-09-24 15:40:29 UTC (rev 4666)
+++ trunk/src/host/pye17/codegen/argtypes.py	2008-09-25 03:24:41 UTC (rev 4667)
@@ -1140,7 +1140,13 @@
 matcher.register_pointer('Ecore_Event', 'G_TYPE_OBJECT')
 matcher.register_pointer('Ecore_Plugin', 'G_TYPE_OBJECT')
 matcher.register_pointer('Ecore_Free_Cb', 'G_TYPE_NONE')
-#matcher.register_pointer('Ecore_Compare_Cb', 'G_TYPE_NONE')
 
+# ecore_evas
+matcher.register_pointer('Ecore_Evas', 'G_TYPE_OBJECT')
+matcher.register('Ecore_X_Window', UIntArg())
+matcher.register_pointer('Ecore_DirectFB_Window', 'G_TYPE_OBJECT')
+matcher.register_pointer('Ecore_Win32_Window', 'G_TYPE_OBJECT')
+matcher.register_pointer('Ecore_WinCE_Window', 'G_TYPE_OBJECT')
+
 # matcher.register_pointer('', 'G_TYPE_OBJECT')
 

Modified: trunk/src/host/pye17/codegen/h2def.py
===================================================================
--- trunk/src/host/pye17/codegen/h2def.py	2008-09-24 15:40:29 UTC (rev 4666)
+++ trunk/src/host/pye17/codegen/h2def.py	2008-09-25 03:24:41 UTC (rev 4667)
@@ -448,7 +448,7 @@
 	    num_open_brackets = 0
 	    begin_copy = 0
             for i in range(len(args)):
-		# either it is the end of an argument >'< or the last character
+		# either it is the end of an argument >,< or the last character
 		if args[i] == "," or i + 1 == len(args):
 			# no open brackets (we are not in a callback) or the last argument is a callback
 			if num_open_brackets == 0 or (i + 1 == len(args) and num_open_brackets == 1 and args[i] == ")"):

Modified: trunk/src/host/pye17/evas/evas.override
===================================================================
--- trunk/src/host/pye17/evas/evas.override	2008-09-24 15:40:29 UTC (rev 4666)
+++ trunk/src/host/pye17/evas/evas.override	2008-09-25 03:24:41 UTC (rev 4667)
@@ -22,3 +22,4 @@
 {
 	/* Evas_Data.h - not implemented yet */
 }
+%%
\ No newline at end of file




More information about the commitlog mailing list