From f2002f8c5fc6bd9b501f55585c162abaa4930473 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 24 Aug 2011 16:49:44 +0200 Subject: update elementary and ecore API --- lib/efl/native/ecore.rb | 8 ++++---- lib/efl/native/elementary.rb | 8 ++++++-- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/lib/efl/native/ecore.rb b/lib/efl/native/ecore.rb index 80859e0..c3ea8f2 100644 --- a/lib/efl/native/ecore.rb +++ b/lib/efl/native/ecore.rb @@ -186,10 +186,10 @@ module Efl [ :ecore_main_loop_thread_safe_call_async, [ :ecore_cb, :void_p ], :void ], # EAPI void *ecore_main_loop_thread_safe_call_sync(Ecore_Data_Cb callback, void *data); [ :ecore_main_loop_thread_safe_call_sync, [ :ecore_data_cb, :void_p ], :void_p ], - # EAPI Eina_Bool ecore_thread_main_loop_begin(void); - [ :ecore_thread_main_loop_begin, [ ], :eina_bool ], - # EAPI void ecore_thread_main_loop_end(void); - [ :ecore_thread_main_loop_end, [ ], :void ], + # EAPI int ecore_thread_main_loop_begin(void); + [ :ecore_thread_main_loop_begin, [ ], :int ], + # EAPI int ecore_thread_main_loop_end(void); + [ :ecore_thread_main_loop_end, [ ], :int ], # EAPI Ecore_Event_Handler *ecore_event_handler_add(int type, Ecore_Event_Handler_Cb func, const void *data); [ :ecore_event_handler_add, [ :int, :ecore_event_handler_cb, :void_p ], :ecore_event_handler_p ], # EAPI void *ecore_event_handler_del(Ecore_Event_Handler *event_handler); diff --git a/lib/efl/native/elementary.rb b/lib/efl/native/elementary.rb index 91cc079..ca8e85e 100644 --- a/lib/efl/native/elementary.rb +++ b/lib/efl/native/elementary.rb @@ -466,6 +466,10 @@ module Efl [ :elm_object_item_text_part_set, [ :elm_object_item_p, :string, :string ], :void ], # EAPI const char *elm_object_item_text_part_get(const Elm_Object_Item *it, const char *part); [ :elm_object_item_text_part_get, [ :elm_object_item_p, :string ], :string ], + # EAPI void elm_object_access_info_set(Evas_Object *obj, const char *txt); + [ :elm_object_access_info_set, [ :evas_object_p, :string ], :void ], + # EAPI void elm_object_item_access_info_set(Elm_Object_Item *it, const char *txt); + [ :elm_object_item_access_info_set, [ :elm_object_item_p, :string ], :void ], # EAPI void elm_all_flush(void); [ :elm_all_flush, [ ], :void ], # EAPI int elm_cache_flush_interval_get(void); @@ -2123,8 +2127,8 @@ module Efl [ :elm_list_item_end_get, [ :elm_list_item_p ], :evas_object_p ], # EAPI void elm_list_item_end_set(Elm_List_Item *item, Evas_Object *end); [ :elm_list_item_end_set, [ :elm_list_item_p, :evas_object_p ], :void ], - # EAPI Evas_Object *elm_list_item_base_get(const Elm_List_Item *item); - [ :elm_list_item_base_get, [ :elm_list_item_p ], :evas_object_p ], + # EAPI Evas_Object *elm_list_item_object_get(const Elm_List_Item *item); + [ :elm_list_item_object_get, [ :elm_list_item_p ], :evas_object_p ], # EAPI const char *elm_list_item_label_get(const Elm_List_Item *item); [ :elm_list_item_label_get, [ :elm_list_item_p ], :string ], # EAPI void elm_list_item_label_set(Elm_List_Item *item, const char *text); -- cgit v1.1-2-g2b99