summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-04-28 16:33:12 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-04-28 16:33:12 +0200
commit35eceb0f17b46aeb56dcbd72569a42676cf63923 (patch)
tree6c3950d7c91c0050b00d7571727d036c0b94e42c
parent4f2f83e82a39ca0f23d4a4d5a186fdb12816f05e (diff)
downloadffi-efl-35eceb0f17b46aeb56dcbd72569a42676cf63923.zip
ffi-efl-35eceb0f17b46aeb56dcbd72569a42676cf63923.tar.gz
fix ecore_evas library, regenerate efl/ffi/ => elementary gains 2 functions
-rw-r--r--lib/efl/ffi/ecore/ecore_evas.rb2
-rw-r--r--lib/efl/ffi/elementary.rb4
-rwxr-xr-xtools/genruby.rb32
3 files changed, 21 insertions, 17 deletions
diff --git a/lib/efl/ffi/ecore/ecore_evas.rb b/lib/efl/ffi/ecore/ecore_evas.rb
index 9963a96..baa1568 100644
--- a/lib/efl/ffi/ecore/ecore_evas.rb
+++ b/lib/efl/ffi/ecore/ecore_evas.rb
@@ -14,7 +14,7 @@ module Efl
module FFI
#
#
- ffi_lib 'ecore'
+ ffi_lib 'ecore_evas'
#
# ENUMS
# typedef enum _Ecore_Evas_Engine_Type {...} Ecore_Evas_Engine_Type;
diff --git a/lib/efl/ffi/elementary.rb b/lib/efl/ffi/elementary.rb
index 8ba8e5c..1411b87 100644
--- a/lib/efl/ffi/elementary.rb
+++ b/lib/efl/ffi/elementary.rb
@@ -2628,6 +2628,10 @@ module Efl
[ :elm_map_rotate_set, [ :evas_object_p, :double, :int, :int ], :void ],
# EAPI void elm_map_rotate_get(const Evas_Object *obj, double *degree, Evas_Coord *cx, Evas_Coord *cy);
[ :elm_map_rotate_get, [ :evas_object_p, :double_p, :int_p, :int_p ], :void ],
+ # EAPI void elm_map_wheel_disabled_set(Evas_Object *obj, Eina_Bool disabled);
+ [ :elm_map_wheel_disabled_set, [ :evas_object_p, :eina_bool ], :void ],
+ # EAPI Eina_Bool elm_map_wheel_disabled_get(const Evas_Object *obj);
+ [ :elm_map_wheel_disabled_get, [ :evas_object_p ], :eina_bool ],
# EAPI Evas_Object *elm_panel_add(Evas_Object *parent);
[ :elm_panel_add, [ :evas_object_p ], :evas_object_p ],
# EAPI void elm_panel_orient_set(Evas_Object *obj, Elm_Panel_Orient orient);
diff --git a/tools/genruby.rb b/tools/genruby.rb
index aaac399..4ee6405 100755
--- a/tools/genruby.rb
+++ b/tools/genruby.rb
@@ -6,22 +6,22 @@ lib_path = File.join path, '..', 'lib', 'efl', 'ffi'
#
# header, module name, fct prefix, lib
libraries = [
- # HEADER MODUE NAME FCT PREFIX LIB OUTPUT
- [ 'eina_types.h', 'Eina', 'eina', 'eina', 'eina/eina_types.rb' ],
- [ 'eina_main.h', 'Eina', 'eina', 'eina', 'eina.rb' ],
- [ 'eina_list.h', 'EinaList', 'eina_list', 'eina', 'eina/eina_list.rb' ],
- [ 'eina_hash.h', 'EinaHash', 'eina_hash', 'eina', 'eina/eina_hash.rb' ],
- [ 'Eet.h', 'Eet', 'eet', 'eet', 'eet.rb' ],
- [ 'Evas.h', 'Evas', 'evas', 'evas', 'evas.rb' ],
-# [ 'Evas_GL.h', 'EvasGl', 'evas_gl', 'evas', 'evas/evas_gl.rb' ],
- [ 'Edje.h', 'Edje', 'edje', 'edje', 'edje.rb' ],
- [ 'Ecore.h', 'Ecore', 'ecore', 'ecore', 'ecore.rb' ],
-# [ 'Ecore_Con.h', 'EcoreCon', 'ecore_con', 'ecore', 'ecore/ecore_con.rb' ],
- [ 'Ecore_Input.h', 'EcoreInput', 'ecore', 'ecore', 'ecore/ecore_input.rb' ],
- [ 'Ecore_Getopt.h', 'EcoreGetopt', 'ecore_getopt', 'ecore', 'ecore/ecore_getopt.rb' ],
- [ 'Ecore_Evas.h', 'EcoreEvas', 'ecore', 'ecore', 'ecore/ecore_evas.rb' ],
-# [ 'Ecore_Fb.h', 'EcoreFb', 'ecore', 'ecore', 'ecore/ecore_fb.rb' ],
-# [ 'Ecore_File.h', 'EcoreFile', 'ecore', 'ecore', 'ecore/ecore_file.rb' ],
+ # HEADER MODUE NAME FCT PREFIX LIB OUTPUT
+ [ 'eina_types.h', 'Eina', 'eina', 'eina', 'eina/eina_types.rb' ],
+ [ 'eina_main.h', 'Eina', 'eina', 'eina', 'eina.rb' ],
+ [ 'eina_list.h', 'EinaList', 'eina_list', 'eina', 'eina/eina_list.rb' ],
+ [ 'eina_hash.h', 'EinaHash', 'eina_hash', 'eina', 'eina/eina_hash.rb' ],
+ [ 'Eet.h', 'Eet', 'eet', 'eet', 'eet.rb' ],
+ [ 'Evas.h', 'Evas', 'evas', 'evas', 'evas.rb' ],
+# [ 'Evas_GL.h', 'EvasGl', 'evas_gl', 'evas', 'evas/evas_gl.rb' ],
+ [ 'Edje.h', 'Edje', 'edje', 'edje', 'edje.rb' ],
+ [ 'Ecore.h', 'Ecore', 'ecore', 'ecore', 'ecore.rb' ],
+# [ 'Ecore_Con.h', 'EcoreCon', 'ecore_con', 'ecore', 'ecore/ecore_con.rb' ],
+ [ 'Ecore_Input.h', 'EcoreInput', 'ecore', 'ecore', 'ecore/ecore_input.rb' ],
+ [ 'Ecore_Getopt.h', 'EcoreGetopt', 'ecore_getopt', 'ecore', 'ecore/ecore_getopt.rb' ],
+ [ 'Ecore_Evas.h', 'EcoreEvas', 'ecore', 'ecore_evas', 'ecore/ecore_evas.rb' ],
+# [ 'Ecore_Fb.h', 'EcoreFb', 'ecore', 'ecore', 'ecore/ecore_fb.rb' ],
+# [ 'Ecore_File.h', 'EcoreFile', 'ecore', 'ecore', 'ecore/ecore_file.rb' ],
[ 'Elementary.h', 'Elm', 'elm', 'libelementary-ver-pre-svn-09.so.0', 'elementary.rb' ],
]
#