diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-03-08 10:49:41 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-03-08 10:49:41 +0100 |
commit | 1f20cb1a9fa5dfcea67e356c5f2f53642ae044bf (patch) | |
tree | c4acf6ffc8ff72f32f0ad7d935affdb60c748ccc /lib/efl/native | |
parent | 7d25e33cdffa2984544366a83b9f0014297267d8 (diff) | |
download | ffi-efl-1f20cb1a9fa5dfcea67e356c5f2f53642ae044bf.zip ffi-efl-1f20cb1a9fa5dfcea67e356c5f2f53642ae044bf.tar.gz |
fix the FIXME's
Diffstat (limited to 'lib/efl/native')
-rw-r--r-- | lib/efl/native/ecore_evas.rb | 6 | ||||
-rw-r--r-- | lib/efl/native/edje.rb | 3 | ||||
-rw-r--r-- | lib/efl/native/eet.rb | 5 | ||||
-rw-r--r-- | lib/efl/native/elm/elm_box.rb | 3 | ||||
-rw-r--r-- | lib/efl/native/elm/elm_calendar.rb | 2 | ||||
-rw-r--r-- | lib/efl/native/elm/elm_general.rb | 2 | ||||
-rw-r--r-- | lib/efl/native/elm/elm_map.rb | 2 | ||||
-rw-r--r-- | lib/efl/native/elm/elm_slider.rb | 4 | ||||
-rw-r--r-- | lib/efl/native/elm/elm_store.rb | 2 | ||||
-rw-r--r-- | lib/efl/native/elm/elm_web.rb | 2 | ||||
-rw-r--r-- | lib/efl/native/evas.rb | 2 |
11 files changed, 16 insertions, 17 deletions
diff --git a/lib/efl/native/ecore_evas.rb b/lib/efl/native/ecore_evas.rb index a005b4d..808d693 100644 --- a/lib/efl/native/ecore_evas.rb +++ b/lib/efl/native/ecore_evas.rb @@ -230,7 +230,8 @@ module Efl # EAPI void ecore_evas_gl_x11_extra_event_window_add(Ecore_Evas *ee, Ecore_X_Window win); [ :ecore_evas_gl_x11_extra_event_window_add, [ :ecore_evas, :uint ], :void ], # EAPI void ecore_evas_gl_x11_pre_post_swap_callback_set(const Ecore_Evas *ee, void *data, void (*pre_cb) (void *data, Evas *e), void (*post_cb) (void *data, Evas *e)); - # FIXME + [ :ecore_evas_gl_x11_pre_post_swap_callback_set, [ :ecore_evas, :pointer, (callback [:pointer, :evas], :void), + (callback [:pointer, :evas], :void) ], :void ], # EAPI Ecore_Evas *ecore_evas_xrender_x11_new(const char *disp_name, Ecore_X_Window parent, int x, int y, int w, int h); [ :ecore_evas_xrender_x11_new, [ :string, :uint, :int, :int, :int, :int ], :ecore_evas ], # EAPI Ecore_X_Window ecore_evas_xrender_x11_window_get(const Ecore_Evas *ee); @@ -278,7 +279,8 @@ module Efl # EAPI Ecore_Evas *ecore_evas_buffer_new(int w, int h); [ :ecore_evas_buffer_new, [ :int, :int ], :ecore_evas ], # EAPI Ecore_Evas *ecore_evas_buffer_allocfunc_new(int w, int h, void *(*alloc_func) (void *data, int size), void (*free_func) (void *data, void *pix), const void *data); - # FIXME + [ :ecore_evas_buffer_allocfunc_new, [ :int, :int, (callback [:pointer,:int], :pointer), (callback [:pointer,:pointer], :void), + :pointer ], :ecore_evas ], # EAPI const void *ecore_evas_buffer_pixels_get(Ecore_Evas *ee); [ :ecore_evas_buffer_pixels_get, [ :ecore_evas ], :pointer ], # EAPI Ecore_Evas *ecore_evas_ews_new(int x, int y, int w, int h); diff --git a/lib/efl/native/edje.rb b/lib/efl/native/edje.rb index e91a2eb..8ca3c81 100644 --- a/lib/efl/native/edje.rb +++ b/lib/efl/native/edje.rb @@ -221,7 +221,8 @@ module Efl # EAPI void edje_extern_object_aspect_set (Evas_Object *obj, Edje_Aspect_Control aspect, Evas_Coord aw, Evas_Coord ah); [ :edje_extern_object_aspect_set, [ :evas_object, :edje_aspect_control, :int, :int ], :void ], # EAPI void edje_box_layout_register (const char *name, Evas_Object_Box_Layout func, void *(*layout_data_get)(void *), void (*layout_data_free)(void *), void (*free_data)(void *), void *data); - # FIXME + [ :edje_box_layout_register, [ :string, :evas_object_box_layout_cb, (callback [:pointer], :pointer), (callback [:pointer], :void), + (callback [:pointer], :void), :pointer ], :void ], # EAPI Evas_Object *edje_object_add (Evas *evas); [ :edje_object_add, [ :evas ], :evas_object ], # EAPI const char *edje_object_data_get (const Evas_Object *obj, const char *key); diff --git a/lib/efl/native/eet.rb b/lib/efl/native/eet.rb index 652a3e7..5a0f1a1 100644 --- a/lib/efl/native/eet.rb +++ b/lib/efl/native/eet.rb @@ -228,8 +228,9 @@ module Efl [ :eet_eina_file_data_descriptor_class_set, [ :eet_data_descriptor_class, :uint, :string, :int ], :bool ], # EAPI void eet_data_descriptor_free(Eet_Data_Descriptor *edd); [ :eet_data_descriptor_free, [ :eet_data_descriptor ], :void ], - # EAPI void eet_data_descriptor_element_add(Eet_Data_Descriptor *edd, const char *name, int type, int group_type, int offset, /* int count_offset, */ - # FIXME + # EAPI void eet_data_descriptor_element_add(Eet_Data_Descriptor *edd, const char *name, int type, int group_type, int offset, + # int count, const char *counter_name, Eet_Data_Descriptor *subtype); + [ :eet_data_descriptor_element_add, [ :eet_data_descriptor, :string, :int, :int, :int, :int, :string, :eet_data_descriptor ], :void ], # EAPI void * eet_data_read(Eet_File *ef, Eet_Data_Descriptor *edd, const char *name); [ :eet_data_read, [ :eet_file, :eet_data_descriptor, :string ], :pointer ], # EAPI int eet_data_write(Eet_File *ef, Eet_Data_Descriptor *edd, const char *name, const void *data, int compress); diff --git a/lib/efl/native/elm/elm_box.rb b/lib/efl/native/elm/elm_box.rb index 3e04f20..aab3206 100644 --- a/lib/efl/native/elm/elm_box.rb +++ b/lib/efl/native/elm/elm_box.rb @@ -69,7 +69,8 @@ module Efl # EAPI void elm_box_layout_transition(Evas_Object *obj, Evas_Object_Box_Data *priv, void *data); [ :elm_box_layout_transition, [ :evas_object, :evas_object_box_data, :pointer ], :void ], # EAPI Elm_Box_Transition *elm_box_transition_new(const double duration, Evas_Object_Box_Layout start_layout, void *start_layout_data, void (*start_layout_free_data)(void *data), Evas_Object_Box_Layout end_layout, void *end_layout_data, Ecore_Cb end_layout_free_data, Ecore_Cb transition_end_cb, void *transition_end_data); - # FIXME + [ :elm_box_transition_new, [ :double, :evas_object_box_layout_cb, :pointer, :ecore_cb, + :evas_object_box_layout_cb, :pointer, :ecore_cb, :ecore_cb, :pointer ], :elm_box_transition ], # EAPI void elm_box_transition_free(void *data); [ :elm_box_transition_free, [ :pointer ], :void ], ] diff --git a/lib/efl/native/elm/elm_calendar.rb b/lib/efl/native/elm/elm_calendar.rb index 7840ce3..55542f6 100644 --- a/lib/efl/native/elm/elm_calendar.rb +++ b/lib/efl/native/elm/elm_calendar.rb @@ -43,7 +43,7 @@ module Efl # EAPI const char **elm_calendar_weekdays_names_get(const Evas_Object *obj); [ :elm_calendar_weekdays_names_get, [ :evas_object ], :pointer ], # EAPI void elm_calendar_weekdays_names_set(Evas_Object *obj, const char *weekdays[]); - # FIXME + [ :elm_calendar_weekdays_names_set, [ :evas_object, :pointer ], :void ], # EAPI void elm_calendar_min_max_year_set(Evas_Object *obj, int min, int max); [ :elm_calendar_min_max_year_set, [ :evas_object, :int, :int ], :void ], # EAPI void elm_calendar_min_max_year_get(const Evas_Object *obj, int *min, int *max); diff --git a/lib/efl/native/elm/elm_general.rb b/lib/efl/native/elm/elm_general.rb index 1a291f2..ee5c657 100644 --- a/lib/efl/native/elm/elm_general.rb +++ b/lib/efl/native/elm/elm_general.rb @@ -81,7 +81,7 @@ module Efl # EAPI Eina_Bool elm_quicklaunch_prepare(int argc, char **argv); [ :elm_quicklaunch_prepare, [ :int, :pointer ], :bool ], # EAPI Eina_Bool elm_quicklaunch_fork(int argc, char **argv, char *cwd, void (postfork_func) (void *data), void *postfork_data); - # FIXME + [ :elm_quicklaunch_fork, [ :int, :pointer, :string, (callback [:pointer], :void), :pointer], :bool ], # EAPI void elm_quicklaunch_cleanup(void); [ :elm_quicklaunch_cleanup, [ ], :void ], # EAPI int elm_quicklaunch_fallback(int argc, char **argv); diff --git a/lib/efl/native/elm/elm_map.rb b/lib/efl/native/elm/elm_map.rb index fd0275d..40a76fc 100644 --- a/lib/efl/native/elm/elm_map.rb +++ b/lib/efl/native/elm/elm_map.rb @@ -163,8 +163,6 @@ module Efl [ :elm_map_overlay_class_append, [ :elm_map_overlay, :elm_map_overlay ], :void ], # EAPI void elm_map_overlay_class_remove(Elm_Map_Overlay *clas, Elm_Map_Overlay *overlay); [ :elm_map_overlay_class_remove, [ :elm_map_overlay, :elm_map_overlay ], :void ], - # EAPI - # FIXME # EAPI void elm_map_overlay_class_zoom_max_set(Elm_Map_Overlay *clas, int zoom); [ :elm_map_overlay_class_zoom_max_set, [ :elm_map_overlay, :int ], :void ], # EAPI int elm_map_overlay_class_zoom_max_get(const Elm_Map_Overlay *clas); diff --git a/lib/efl/native/elm/elm_slider.rb b/lib/efl/native/elm/elm_slider.rb index 8f23f15..16dc1dd 100644 --- a/lib/efl/native/elm/elm_slider.rb +++ b/lib/efl/native/elm/elm_slider.rb @@ -38,9 +38,9 @@ module Efl # EAPI const char *elm_slider_indicator_format_get(const Evas_Object *obj); [ :elm_slider_indicator_format_get, [ :evas_object ], :string ], # EAPI void elm_slider_indicator_format_function_set(Evas_Object *obj, const char *(*func)(double val), void (*free_func)(const char *str)); - # FIXME + [ :elm_slider_indicator_format_function_set, [ :evas_object, ( callback [:double], :string ), (callback [:string], :void) ], :void ], # EAPI void elm_slider_units_format_function_set(Evas_Object *obj, const char *(*func)(double val), void (*free_func)(const char *str)); - # FIXME + [ :elm_slider_units_format_function_set, [ :evas_object, (callback [:double], :string), (callback [:string], :void) ], :void ], # EAPI void elm_slider_horizontal_set(Evas_Object *obj, Eina_Bool horizontal); [ :elm_slider_horizontal_set, [ :evas_object, :bool ], :void ], # EAPI Eina_Bool elm_slider_horizontal_get(const Evas_Object *obj); diff --git a/lib/efl/native/elm/elm_store.rb b/lib/efl/native/elm/elm_store.rb index 99854e6..abd467f 100644 --- a/lib/efl/native/elm/elm_store.rb +++ b/lib/efl/native/elm/elm_store.rb @@ -47,8 +47,6 @@ module Efl typedef :pointer, :elm_store_item_mapping_custom # # CALLBACKS - # typedef struct _Elm_Store_Item_Mapping Elm_Store_Item_Mapping; /**< A basic way of telling Store how to take your return data (string, or something else from your struct) and convert it into something genlist can use */typedef struct _Elm_Store_Item_Mapping_Empty Elm_Store_Item_Mapping_Empty; /**< An empty piece of mapping information. Useful for String labels as they get used directly */ - # FIXME # typedef Eina_Bool (*Elm_Store_Item_List_Cb) (void *data, Elm_Store_Item_Info *info); callback :elm_store_item_list_cb, [ :pointer, :elm_store_item_info ], :bool # typedef void (*Elm_Store_Item_Fetch_Cb) (void *data, Elm_Store_Item *sti); diff --git a/lib/efl/native/elm/elm_web.rb b/lib/efl/native/elm/elm_web.rb index 5270288..c9bfeee 100644 --- a/lib/efl/native/elm/elm_web.rb +++ b/lib/efl/native/elm/elm_web.rb @@ -127,8 +127,6 @@ module Efl [ :elm_web_back_possible_get, [ :evas_object ], :bool ], # EAPI Eina_Bool elm_web_forward_possible_get(Evas_Object *obj); [ :elm_web_forward_possible_get, [ :evas_object ], :bool ], - # EAPI Eina_Bool elm_web_navigate_possible_get(Evas_Object *obj, int steps); - [ :elm_web_navigate_possible_get, [ :evas_object, :int ], :bool ], # EAPI Eina_Bool elm_web_history_enabled_get(const Evas_Object *obj); [ :elm_web_history_enabled_get, [ :evas_object ], :bool ], # EAPI void elm_web_history_enabled_set(Evas_Object *obj, Eina_Bool enabled); diff --git a/lib/efl/native/evas.rb b/lib/efl/native/evas.rb index 66e5731..c61b1e8 100644 --- a/lib/efl/native/evas.rb +++ b/lib/efl/native/evas.rb @@ -1176,7 +1176,7 @@ module Efl # EAPI const Evas_Object_Box_Api *evas_object_box_smart_class_get (void); [ :evas_object_box_smart_class_get, [ ], :evas_object_box_api ], # EAPI void evas_object_box_layout_set (Evas_Object *o, Evas_Object_Box_Layout cb, const void *data, void (*free_data)(void *data)); - # FIXME + [ :evas_object_box_layout_set, [ :evas_object, :evas_object_box_layout_cb, (callback [ :pointer ], :void) ], :void ], # EAPI Evas_Object *evas_object_box_add (Evas *evas); [ :evas_object_box_add, [ :evas ], :evas_object ], # EAPI Evas_Object *evas_object_box_add_to (Evas_Object *parent); |