ffi-efl 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -24,44 +24,42 @@ module Efl
24
24
  #
25
25
  # ENUMS
26
26
  # typedef enum _Edje_Message_Type {...} Edje_Message_Type;
27
- enum :edje_message_type, [ :edje_message_none, 0, :edje_message_signal, 1, :edje_message_string, 2, :edje_message_int, 3, :edje_message_float,
28
- 4, :edje_message_string_set, 5, :edje_message_int_set, 6, :edje_message_float_set, 7, :edje_message_string_int, 8, :edje_message_string_float, 9,
27
+ enum :edje_message_type, [ :edje_message_none, 0, :edje_message_signal, 1, :edje_message_string, 2, :edje_message_int, 3, :edje_message_float, 4,
28
+ :edje_message_string_set, 5, :edje_message_int_set, 6, :edje_message_float_set, 7, :edje_message_string_int, 8, :edje_message_string_float, 9,
29
29
  :edje_message_string_int_set, 10, :edje_message_string_float_set, 11 ]
30
30
  # typedef enum _Edje_Aspect_Control {...} Edje_Aspect_Control;
31
- enum :edje_aspect_control, [ :edje_aspect_control_none, 0, :edje_aspect_control_neither, 1, :edje_aspect_control_horizontal, 2,
32
- :edje_aspect_control_vertical, 3, :edje_aspect_control_both, 4 ]
31
+ enum :edje_aspect_control, [ :edje_aspect_control_none, 0, :edje_aspect_control_neither, 1, :edje_aspect_control_horizontal, 2, :edje_aspect_control_vertical, 3,
32
+ :edje_aspect_control_both, 4 ]
33
33
  # typedef enum _Edje_Object_Table_Homogeneous_Mode {...} Edje_Object_Table_Homogeneous_Mode;
34
- enum :edje_object_table_homogeneous_mode, [ :edje_object_table_homogeneous_none, 0, :edje_object_table_homogeneous_table, 1,
35
- :edje_object_table_homogeneous_item, 2 ]
34
+ enum :edje_object_table_homogeneous_mode, [ :edje_object_table_homogeneous_none, 0, :edje_object_table_homogeneous_table, 1, :edje_object_table_homogeneous_item,
35
+ 2 ]
36
36
  # typedef enum _Edje_Part_Type {...} Edje_Part_Type;
37
- enum :edje_part_type, [ :edje_part_type_none, 0, :edje_part_type_rectangle, 1, :edje_part_type_text, 2, :edje_part_type_image, 3,
38
- :edje_part_type_swallow, 4, :edje_part_type_textblock, 5, :edje_part_type_gradient, 6, :edje_part_type_group, 7, :edje_part_type_box, 8,
39
- :edje_part_type_table, 9, :edje_part_type_external, 10, :edje_part_type_proxy, 11, :edje_part_type_last, 12 ]
37
+ enum :edje_part_type, [ :edje_part_type_none, 0, :edje_part_type_rectangle, 1, :edje_part_type_text, 2, :edje_part_type_image, 3, :edje_part_type_swallow, 4,
38
+ :edje_part_type_textblock, 5, :edje_part_type_gradient, 6, :edje_part_type_group, 7, :edje_part_type_box, 8, :edje_part_type_table, 9, :edje_part_type_external, 10,
39
+ :edje_part_type_proxy, 11, :edje_part_type_last, 12 ]
40
40
  # typedef enum _Edje_Text_Effect {...} Edje_Text_Effect;
41
- enum :edje_text_effect, [ :edje_text_effect_none, 0, :edje_text_effect_plain, 1, :edje_text_effect_outline, 2, :edje_text_effect_soft_outline,
42
- 3, :edje_text_effect_shadow, 4, :edje_text_effect_soft_shadow, 5, :edje_text_effect_outline_shadow, 6, :edje_text_effect_outline_soft_shadow, 7,
41
+ enum :edje_text_effect, [ :edje_text_effect_none, 0, :edje_text_effect_plain, 1, :edje_text_effect_outline, 2, :edje_text_effect_soft_outline, 3,
42
+ :edje_text_effect_shadow, 4, :edje_text_effect_soft_shadow, 5, :edje_text_effect_outline_shadow, 6, :edje_text_effect_outline_soft_shadow, 7,
43
43
  :edje_text_effect_far_shadow, 8, :edje_text_effect_far_soft_shadow, 9, :edje_text_effect_glow, 10, :edje_text_effect_last, 11,
44
44
  :edje_text_effect_shadow_direction_bottom_right, :edje_text_effect_shadow_direction_bottom, :edje_text_effect_shadow_direction_bottom_left,
45
45
  :edje_text_effect_shadow_direction_left, :edje_text_effect_shadow_direction_top_left, :edje_text_effect_shadow_direction_top,
46
46
  :edje_text_effect_shadow_direction_top_right, :edje_text_effect_shadow_direction_right ]
47
47
  # typedef enum _Edje_Action_Type {...} Edje_Action_Type;
48
- enum :edje_action_type, [ :edje_action_type_none, 0, :edje_action_type_state_set, 1, :edje_action_type_action_stop, 2,
49
- :edje_action_type_signal_emit, 3, :edje_action_type_drag_val_set, 4, :edje_action_type_drag_val_step, 5, :edje_action_type_drag_val_page, 6,
50
- :edje_action_type_script, 7, :edje_action_type_focus_set, 8, :edje_action_type_reserved00, 9, :edje_action_type_focus_object, 10,
51
- :edje_action_type_param_copy, 11, :edje_action_type_param_set, 12, :edje_action_type_last, 13 ]
48
+ enum :edje_action_type, [ :edje_action_type_none, 0, :edje_action_type_state_set, 1, :edje_action_type_action_stop, 2, :edje_action_type_signal_emit, 3,
49
+ :edje_action_type_drag_val_set, 4, :edje_action_type_drag_val_step, 5, :edje_action_type_drag_val_page, 6, :edje_action_type_script, 7, :edje_action_type_focus_set, 8,
50
+ :edje_action_type_reserved00, 9, :edje_action_type_focus_object, 10, :edje_action_type_param_copy, 11, :edje_action_type_param_set, 12, :edje_action_type_last, 13 ]
52
51
  # typedef enum _Edje_Tween_Mode {...} Edje_Tween_Mode;
53
52
  enum :edje_tween_mode, [ :edje_tween_mode_none, 0, :edje_tween_mode_linear, 1, :edje_tween_mode_sinusoidal, 2, :edje_tween_mode_accelerate, 3,
54
53
  :edje_tween_mode_decelerate, 4, :edje_tween_mode_last, 5 ]
55
54
  # typedef enum _Edje_Cursor {...} Edje_Cursor;
56
- enum :edje_cursor, [ :edje_cursor_main, :edje_cursor_selection_begin, :edje_cursor_selection_end, :edje_cursor_preedit_start,
57
- :edje_cursor_preedit_end, :edje_cursor_user, :edje_cursor_user_extra ]
55
+ enum :edje_cursor, [ :edje_cursor_main, :edje_cursor_selection_begin, :edje_cursor_selection_end, :edje_cursor_preedit_start, :edje_cursor_preedit_end,
56
+ :edje_cursor_user, :edje_cursor_user_extra ]
58
57
  # typedef enum _Edje_Drag_Dir {...} Edje_Drag_Dir;
59
58
  enum :edje_drag_dir, [ :edje_drag_dir_none, 0, :edje_drag_dir_x, 1, :edje_drag_dir_y, 2, :edje_drag_dir_xy, 3 ]
60
59
  # typedef enum _Edje_Load_Error {...} Edje_Load_Error;
61
- enum :edje_load_error, [ :edje_load_error_none, 0, :edje_load_error_generic, 1, :edje_load_error_does_not_exist, 2,
62
- :edje_load_error_permission_denied, 3, :edje_load_error_resource_allocation_failed, 4, :edje_load_error_corrupt_file, 5,
63
- :edje_load_error_unknown_format, 6, :edje_load_error_incompatible_file, 7, :edje_load_error_unknown_collection, 8,
64
- :edje_load_error_recursive_reference, 9 ]
60
+ enum :edje_load_error, [ :edje_load_error_none, 0, :edje_load_error_generic, 1, :edje_load_error_does_not_exist, 2, :edje_load_error_permission_denied, 3,
61
+ :edje_load_error_resource_allocation_failed, 4, :edje_load_error_corrupt_file, 5, :edje_load_error_unknown_format, 6, :edje_load_error_incompatible_file, 7,
62
+ :edje_load_error_unknown_collection, 8, :edje_load_error_recursive_reference, 9 ]
65
63
  # typedef enum _Edje_Text_Filter_Type {...} Edje_Text_Filter_Type;
66
64
  enum :edje_text_filter_type, [ :edje_text_filter_text, 0, :edje_text_filter_format, 1, :edje_text_filter_markup, 2 ]
67
65
  # typedef enum _Edje_External_Param_Type {...} Edje_External_Param_Type;
@@ -75,6 +73,7 @@ module Efl
75
73
  # TYPEDEFS
76
74
  # typedef struct _Edje_Version Edje_Version;
77
75
  typedef :pointer, :edje_version
76
+ typedef :pointer, :edje_version_p
78
77
  # typedef struct _Edje_Message_String Edje_Message_String;
79
78
  typedef :pointer, :edje_message_string
80
79
  # typedef struct _Edje_Message_Int Edje_Message_Int;
@@ -123,10 +122,12 @@ module Efl
123
122
  # typedef Evas_Object *(*Edje_Item_Provider_Cb) (void *data, Evas_Object *obj, const char *part, const char *item);
124
123
  callback :edje_item_provider_cb, [ :void_p, :evas_object_p, :string, :string ], :evas_object_p
125
124
  #
125
+ # VARIABLES
126
+ # EAPI extern Edje_Version *edje_version;
127
+ attach_variable :edje_version, :edje_version_p
128
+ #
126
129
  # FUNCTIONS
127
130
  fcts = [
128
- # EAPI extern Edje_Version *edje_version;
129
- # FIXME
130
131
  # EAPI const char *edje_external_param_type_str(Edje_External_Param_Type type);
131
132
  [ :edje_external_param_type_str, [ :edje_external_param_type ], :string ],
132
133
  # EAPI int edje_init (void);
@@ -180,8 +181,7 @@ module Efl
180
181
  # EAPI Eina_Bool edje_color_class_set (const char *color_class, int r, int g, int b, int a, int r2, int g2, int b2, int a2, int r3, int g3, int b3, int a3);
181
182
  [ :edje_color_class_set, [ :string, :int, :int, :int, :int, :int, :int, :int, :int, :int, :int, :int, :int ], :eina_bool ],
182
183
  # EAPI Eina_Bool edje_color_class_get (const char *color_class, int *r, int *g, int *b, int *a, int *r2, int *g2, int *b2, int *a2, int *r3, int *g3, int *b3, int *a3);
183
- [ :edje_color_class_get, [ :string, :int_p, :int_p, :int_p, :int_p, :int_p, :int_p, :int_p, :int_p, :int_p, :int_p, :int_p, :int_p ],
184
- :eina_bool ],
184
+ [ :edje_color_class_get, [ :string, :int_p, :int_p, :int_p, :int_p, :int_p, :int_p, :int_p, :int_p, :int_p, :int_p, :int_p, :int_p ], :eina_bool ],
185
185
  # EAPI void edje_color_class_del (const char *color_class);
186
186
  [ :edje_color_class_del, [ :string ], :void ],
187
187
  # EAPI Eina_List *edje_color_class_list (void);
@@ -235,11 +235,10 @@ module Efl
235
235
  # EAPI int edje_object_thaw (Evas_Object *obj);
236
236
  [ :edje_object_thaw, [ :evas_object_p ], :int ],
237
237
  # EAPI Eina_Bool edje_object_color_class_set (Evas_Object *obj, const char *color_class, int r, int g, int b, int a, int r2, int g2, int b2, int a2, int r3, int g3, int b3, int a3);
238
- [ :edje_object_color_class_set, [ :evas_object_p, :string, :int, :int, :int, :int, :int, :int, :int, :int, :int, :int, :int, :int ],
239
- :eina_bool ],
238
+ [ :edje_object_color_class_set, [ :evas_object_p, :string, :int, :int, :int, :int, :int, :int, :int, :int, :int, :int, :int, :int ], :eina_bool ],
240
239
  # EAPI Eina_Bool edje_object_color_class_get (const Evas_Object *o, const char *color_class, int *r, int *g, int *b, int *a, int *r2, int *g2, int *b2, int *a2, int *r3, int *g3, int *b3, int *a3);
241
- [ :edje_object_color_class_get, [ :evas_object_p, :string, :int_p, :int_p, :int_p, :int_p, :int_p, :int_p, :int_p, :int_p, :int_p, :int_p,
242
- :int_p, :int_p ], :eina_bool ],
240
+ [ :edje_object_color_class_get, [ :evas_object_p, :string, :int_p, :int_p, :int_p, :int_p, :int_p, :int_p, :int_p, :int_p, :int_p, :int_p, :int_p, :int_p ],
241
+ :eina_bool ],
243
242
  # EAPI void edje_object_color_class_del (Evas_Object *obj, const char *color_class);
244
243
  [ :edje_object_color_class_del, [ :evas_object_p, :string ], :void ],
245
244
  # EAPI Eina_Bool edje_object_text_class_set (Evas_Object *obj, const char *text_class, const char *font, Evas_Font_Size size);
@@ -24,17 +24,17 @@ module Efl
24
24
  #
25
25
  # ENUMS
26
26
  # typedef enum _Eet_Error {...} Eet_Error;
27
- enum :eet_error, [ :eet_error_none, :eet_error_bad_object, :eet_error_empty, :eet_error_not_writable, :eet_error_out_of_memory,
28
- :eet_error_write_error, :eet_error_write_error_file_too_big, :eet_error_write_error_io_error, :eet_error_write_error_out_of_space,
29
- :eet_error_write_error_file_closed, :eet_error_mmap_failed, :eet_error_x509_encoding_failed, :eet_error_signature_failed,
30
- :eet_error_invalid_signature, :eet_error_not_signed, :eet_error_not_implemented, :eet_error_prng_not_seeded, :eet_error_encrypt_failed,
31
- :eet_error_decrypt_failed ]
27
+ enum :eet_error, [ :eet_error_none, :eet_error_bad_object, :eet_error_empty, :eet_error_not_writable, :eet_error_out_of_memory, :eet_error_write_error,
28
+ :eet_error_write_error_file_too_big, :eet_error_write_error_io_error, :eet_error_write_error_out_of_space, :eet_error_write_error_file_closed, :eet_error_mmap_failed,
29
+ :eet_error_x509_encoding_failed, :eet_error_signature_failed, :eet_error_invalid_signature, :eet_error_not_signed, :eet_error_not_implemented, :eet_error_prng_not_seeded,
30
+ :eet_error_encrypt_failed, :eet_error_decrypt_failed ]
32
31
  # typedef enum _Eet_File_Mode {...} Eet_File_Mode;
33
32
  enum :eet_file_mode, [ :eet_file_mode_invalid, -1, :eet_file_mode_read, :eet_file_mode_write, :eet_file_mode_read_write ]
34
33
  #
35
34
  # TYPEDEFS
36
35
  # typedef struct _Eet_Version Eet_Version;
37
36
  typedef :pointer, :eet_version
37
+ typedef :pointer, :eet_version_p
38
38
  # typedef struct _Eet_File Eet_File;
39
39
  typedef :pointer, :eet_file
40
40
  typedef :pointer, :eet_file_p
@@ -125,10 +125,12 @@ module Efl
125
125
  # typedef Eina_Bool Eet_Write_Cb (const void *data, size_t size, void *user_data);
126
126
  callback :eet_write_cb, [ :void_p, :ulong, :void_p ], :eina_bool
127
127
  #
128
+ # VARIABLES
129
+ # EAPI extern Eet_Version *eet_version;
130
+ attach_variable :eet_version, :eet_version_p
131
+ #
128
132
  # FUNCTIONS
129
133
  fcts = [
130
- # EAPI extern Eet_Version *eet_version;
131
- # FIXME
132
134
  # EAPI int eet_init(void);
133
135
  [ :eet_init, [ ], :int ],
134
136
  # EAPI int eet_shutdown(void);
@@ -172,8 +174,7 @@ module Efl
172
174
  # EAPI void * eet_data_image_read(Eet_File *ef, const char *name, unsigned int *w, unsigned int *h, int *alpha, int *compress, int *quality, int *lossy);
173
175
  [ :eet_data_image_read, [ :eet_file_p, :string, :uint_p, :uint_p, :int_p, :int_p, :int_p, :int_p ], :void_p ],
174
176
  # EAPI int eet_data_image_read_to_surface(Eet_File *ef, const char *name, unsigned int src_x, unsigned int src_y, unsigned int *d, unsigned int w, unsigned int h, unsigned int row_stride, int *alpha, int *compress, int *quality, int *lossy);
175
- [ :eet_data_image_read_to_surface, [ :eet_file_p, :string, :uint, :uint, :uint_p, :uint, :uint, :uint, :int_p, :int_p, :int_p, :int_p ], :int
176
- ],
177
+ [ :eet_data_image_read_to_surface, [ :eet_file_p, :string, :uint, :uint, :uint_p, :uint, :uint, :uint, :int_p, :int_p, :int_p, :int_p ], :int ],
177
178
  # EAPI int eet_data_image_write(Eet_File *ef, const char *name, const void *data, unsigned int w, unsigned int h, int alpha, int compress, int quality, int lossy);
178
179
  [ :eet_data_image_write, [ :eet_file_p, :string, :void_p, :uint, :uint, :int, :int, :int, :int ], :int ],
179
180
  # EAPI int eet_data_image_header_decode(const void *data, int size, unsigned int *w, unsigned int *h, int *alpha, int *compress, int *quality, int *lossy);
@@ -189,8 +190,7 @@ module Efl
189
190
  # EAPI void * eet_data_image_read_cipher(Eet_File *ef, const char *name, const char *cipher_key, unsigned int *w, unsigned int *h, int *alpha, int *compress, int *quality, int *lossy);
190
191
  [ :eet_data_image_read_cipher, [ :eet_file_p, :string, :string, :uint_p, :uint_p, :int_p, :int_p, :int_p, :int_p ], :void_p ],
191
192
  # EAPI int eet_data_image_read_to_surface_cipher(Eet_File *ef, const char *name, const char *cipher_key, unsigned int src_x, unsigned int src_y, unsigned int *d, unsigned int w, unsigned int h, unsigned int row_stride, int *alpha, int *compress, int *quality, int *lossy);
192
- [ :eet_data_image_read_to_surface_cipher, [ :eet_file_p, :string, :string, :uint, :uint, :uint_p, :uint, :uint, :uint, :int_p, :int_p, :int_p,
193
- :int_p ], :int ],
193
+ [ :eet_data_image_read_to_surface_cipher, [ :eet_file_p, :string, :string, :uint, :uint, :uint_p, :uint, :uint, :uint, :int_p, :int_p, :int_p, :int_p ], :int ],
194
194
  # EAPI int eet_data_image_write_cipher(Eet_File *ef, const char *name, const char *cipher_key, const void *data, unsigned int w, unsigned int h, int alpha, int compress, int quality, int lossy);
195
195
  [ :eet_data_image_write_cipher, [ :eet_file_p, :string, :string, :void_p, :uint, :uint, :int, :int, :int, :int ], :int ],
196
196
  # EAPI int eet_data_image_header_decode_cipher(const void *data, const char *cipher_key, int size, unsigned int *w, unsigned int *h, int *alpha, int *compress, int *quality, int *lossy);
@@ -198,8 +198,7 @@ module Efl
198
198
  # EAPI void * eet_data_image_decode_cipher(const void *data, const char *cipher_key, int size, unsigned int *w, unsigned int *h, int *alpha, int *compress, int *quality, int *lossy);
199
199
  [ :eet_data_image_decode_cipher, [ :void_p, :string, :int, :uint_p, :uint_p, :int_p, :int_p, :int_p, :int_p ], :void_p ],
200
200
  # EAPI int eet_data_image_decode_to_surface_cipher(const void *data, const char *cipher_key, int size, unsigned int src_x, unsigned int src_y, unsigned int *d, unsigned int w, unsigned int h, unsigned int row_stride, int *alpha, int *compress, int *quality, int *lossy);
201
- [ :eet_data_image_decode_to_surface_cipher, [ :void_p, :string, :int, :uint, :uint, :uint_p, :uint, :uint, :uint, :int_p, :int_p, :int_p,
202
- :int_p ], :int ],
201
+ [ :eet_data_image_decode_to_surface_cipher, [ :void_p, :string, :int, :uint, :uint, :uint_p, :uint, :uint, :uint, :int_p, :int_p, :int_p, :int_p ], :int ],
203
202
  # EAPI void * eet_data_image_encode_cipher(const void *data, const char *cipher_key, unsigned int w, unsigned int h, int alpha, int compress, int quality, int lossy, int *size_ret);
204
203
  [ :eet_data_image_encode_cipher, [ :void_p, :string, :uint, :uint, :int, :int, :int, :int, :int_p ], :void_p ],
205
204
  # EAPI Eet_Key * eet_identity_open(const char *certificate_file, const char *private_key_file, Eet_Key_Password_Callback cb);
@@ -27,13 +27,16 @@ module Efl
27
27
  # TYPEDEFS
28
28
  # typedef struct _Eina_Version Eina_Version;
29
29
  typedef :pointer, :eina_version
30
+ typedef :pointer, :eina_version_p
30
31
  #
31
32
  # CALLBACKS
32
33
  #
34
+ # VARIABLES
35
+ # EAPI extern Eina_Version *eina_version;
36
+ attach_variable :eina_version, :eina_version_p
37
+ #
33
38
  # FUNCTIONS
34
39
  fcts = [
35
- # EAPI extern Eina_Version *eina_version;
36
- # FIXME
37
40
  # EAPI int eina_init(void);
38
41
  [ :eina_init, [ ], :int ],
39
42
  # EAPI int eina_shutdown(void);
@@ -41,6 +41,8 @@ module Efl
41
41
  # typedef Eina_Bool (*Eina_Hash_Foreach) (const Eina_Hash *hash, const void *key, void *data, void *fdata);
42
42
  callback :eina_hash_foreach, [ :eina_hash_p, :void_p, :void_p, :void_p ], :eina_bool
43
43
  #
44
+ # VARIABLES
45
+ #
44
46
  # FUNCTIONS
45
47
  fcts = [
46
48
  # EAPI Eina_Hash *eina_hash_new(Eina_Key_Length key_length_cb, Eina_Key_Cmp key_cmp_cb, Eina_Key_Hash key_hash_cb, Eina_Free_Cb data_free_cb, int buckets_power_size);
@@ -34,6 +34,8 @@ module Efl
34
34
  #
35
35
  # CALLBACKS
36
36
  #
37
+ # VARIABLES
38
+ #
37
39
  # FUNCTIONS
38
40
  fcts = [
39
41
  # EAPI Eina_List *eina_list_append(Eina_List *list, const void *data);
@@ -0,0 +1,102 @@
1
+ #! /usr/bin/env ruby
2
+ # -*- coding: UTF-8 -*-
3
+ #
4
+ require 'efl/ffi'
5
+ #
6
+ module Efl
7
+ #
8
+ module EinaLog
9
+ #
10
+ def self.method_missing m, *args, &block
11
+ sym = 'eina_log_'+m.to_s
12
+ raise NameError.new "#{self.name}.#{sym} (#{m})" if not Efl::Native.respond_to? sym
13
+ self.module_eval "def self.#{m} *args, █ r=Efl::Native.#{sym}(*args); yield r if block_given?; r; end"
14
+ self.send m, *args, &block
15
+ end
16
+ #
17
+ end
18
+ #
19
+ module Native
20
+ #
21
+ extend Efl::FFIHelper
22
+ #
23
+ ffi_lib 'eina'
24
+ #
25
+ # ENUMS
26
+ # typedef enum _Eina_Log_Level {...} Eina_Log_Level;
27
+ enum :eina_log_level, [ :eina_log_level_critical, :eina_log_level_err, :eina_log_level_warn, :eina_log_level_info, :eina_log_level_dbg, :eina_log_levels,
28
+ :eina_log_level_unknown ]
29
+ #
30
+ # TYPEDEFS
31
+ # typedef struct _Eina_Log_Domain Eina_Log_Domain;
32
+ typedef :pointer, :eina_log_domain
33
+ typedef :pointer, :eina_log_domain_p
34
+ #
35
+ # CALLBACKS
36
+ # typedef void (*Eina_Log_Print_Cb) (const Eina_Log_Domain *d, Eina_Log_Level level, const char *file, const char *fnc, int line, const char *fmt, void *data, va_list args);
37
+ callback :eina_log_print_cb, [ :eina_log_domain_p, :eina_log_level, :string, :string, :int, :string, :void_p, :pointer ], :void
38
+ #
39
+ # VARIABLES
40
+ # EAPI extern int EINA_LOG_DOMAIN_GLOBAL;
41
+ attach_variable :EINA_LOG_DOMAIN_GLOBAL, :int
42
+ #
43
+ # FUNCTIONS
44
+ fcts = [
45
+ # EAPI void eina_log_threads_enable(void);
46
+ [ :eina_log_threads_enable, [ ], :void ],
47
+ # EAPI void eina_log_print_cb_set(Eina_Log_Print_Cb cb, void *data);
48
+ [ :eina_log_print_cb_set, [ :eina_log_print_cb, :void_p ], :void ],
49
+ # EAPI void eina_log_level_set(int level);
50
+ [ :eina_log_level_set, [ :int ], :void ],
51
+ # EAPI int eina_log_level_get(void);
52
+ [ :eina_log_level_get, [ ], :int ],
53
+ # EAPI Eina_Bool eina_log_main_thread_check(void);
54
+ [ :eina_log_main_thread_check, [ ], :eina_bool ],
55
+ # EAPI void eina_log_color_disable_set(Eina_Bool disabled);
56
+ [ :eina_log_color_disable_set, [ :eina_bool ], :void ],
57
+ # EAPI Eina_Bool eina_log_color_disable_get(void);
58
+ [ :eina_log_color_disable_get, [ ], :eina_bool ],
59
+ # EAPI void eina_log_file_disable_set(Eina_Bool disabled);
60
+ [ :eina_log_file_disable_set, [ :eina_bool ], :void ],
61
+ # EAPI Eina_Bool eina_log_file_disable_get(void);
62
+ [ :eina_log_file_disable_get, [ ], :eina_bool ],
63
+ # EAPI void eina_log_function_disable_set(Eina_Bool disabled);
64
+ [ :eina_log_function_disable_set, [ :eina_bool ], :void ],
65
+ # EAPI Eina_Bool eina_log_function_disable_get(void);
66
+ [ :eina_log_function_disable_get, [ ], :eina_bool ],
67
+ # EAPI void eina_log_abort_on_critical_set(Eina_Bool abort_on_critical);
68
+ [ :eina_log_abort_on_critical_set, [ :eina_bool ], :void ],
69
+ # EAPI Eina_Bool eina_log_abort_on_critical_get(void);
70
+ [ :eina_log_abort_on_critical_get, [ ], :eina_bool ],
71
+ # EAPI void eina_log_abort_on_critical_level_set(int critical_level);
72
+ [ :eina_log_abort_on_critical_level_set, [ :int ], :void ],
73
+ # EAPI int eina_log_abort_on_critical_level_get(void);
74
+ [ :eina_log_abort_on_critical_level_get, [ ], :int ],
75
+ # EAPI void eina_log_domain_level_set(const char *domain_name, int level);
76
+ [ :eina_log_domain_level_set, [ :string, :int ], :void ],
77
+ # EAPI int eina_log_domain_level_get(const char *domain_name);
78
+ [ :eina_log_domain_level_get, [ :string ], :int ],
79
+ # EAPI int eina_log_domain_registered_level_get(int domain);
80
+ [ :eina_log_domain_registered_level_get, [ :int ], :int ],
81
+ # EAPI int eina_log_domain_register(const char *name, const char *color);
82
+ [ :eina_log_domain_register, [ :string, :string ], :int ],
83
+ # EAPI void eina_log_domain_unregister(int domain);
84
+ [ :eina_log_domain_unregister, [ :int ], :void ],
85
+ # EAPI void eina_log_print(int domain, Eina_Log_Level level, const char *file, const char *function, int line, const char *fmt, ...);
86
+ [ :eina_log_print, [ :int, :eina_log_level, :string, :string, :int, :string, :varargs ], :void ],
87
+ # EAPI void eina_log_vprint(int domain, Eina_Log_Level level, const char *file, const char *fnc, int line, const char *fmt, va_list args);
88
+ [ :eina_log_vprint, [ :int, :eina_log_level, :string, :string, :int, :string, :pointer ], :void ],
89
+ # EAPI void eina_log_print_cb_stdout(const Eina_Log_Domain *d, Eina_Log_Level level, const char *file, const char *fnc, int line, const char *fmt, void *data, va_list args);
90
+ [ :eina_log_print_cb_stdout, [ :eina_log_domain_p, :eina_log_level, :string, :string, :int, :string, :void_p, :pointer ], :void ],
91
+ # EAPI void eina_log_print_cb_stderr(const Eina_Log_Domain *d, Eina_Log_Level level, const char *file, const char *fnc, int line, const char *fmt, void *data, va_list args);
92
+ [ :eina_log_print_cb_stderr, [ :eina_log_domain_p, :eina_log_level, :string, :string, :int, :string, :void_p, :pointer ], :void ],
93
+ # EAPI void eina_log_print_cb_file(const Eina_Log_Domain *d, Eina_Log_Level level, const char *file, const char *fnc, int line, const char *fmt, void *data, va_list args);
94
+ [ :eina_log_print_cb_file, [ :eina_log_domain_p, :eina_log_level, :string, :string, :int, :string, :void_p, :pointer ], :void ],
95
+ ]
96
+ #
97
+ attach_fcts fcts
98
+ #
99
+ end
100
+ end
101
+ #
102
+ # EOF
@@ -37,10 +37,10 @@ module Efl
37
37
  # typedef void (*Eina_Free_Cb) (void *data);
38
38
  callback :eina_free_cb, [ :void_p ], :void
39
39
  #
40
+ # VARIABLES
41
+ #
40
42
  # FUNCTIONS
41
43
  fcts = [
42
- # EAPI extern const unsigned int eina_prime_table[];
43
- # FIXME
44
44
  ]
45
45
  #
46
46
  attach_fcts fcts
@@ -2,6 +2,7 @@
2
2
  # -*- coding: UTF-8 -*-
3
3
  #
4
4
  require 'efl/ffi'
5
+ require 'efl/native/evas'
5
6
  #
6
7
  module Efl
7
8
  #
@@ -38,49 +39,44 @@ module Efl
38
39
  # typedef enum _Elm_Wrap_Type {...} Elm_Wrap_Type;
39
40
  enum :elm_wrap_type, [ :elm_wrap_none, 0, :elm_wrap_char, :elm_wrap_word, :elm_wrap_mixed, :elm_wrap_last ]
40
41
  # typedef enum _Elm_Win_Type {...} Elm_Win_Type;
41
- enum :elm_win_type, [ :elm_win_basic, :elm_win_dialog_basic, :elm_win_desktop, :elm_win_dock, :elm_win_toolbar, :elm_win_menu,
42
- :elm_win_utility, :elm_win_splash, :elm_win_dropdown_menu, :elm_win_popup_menu, :elm_win_tooltip, :elm_win_notification, :elm_win_combo, :elm_win_dnd,
43
- :elm_win_inlined_image ]
42
+ enum :elm_win_type, [ :elm_win_basic, :elm_win_dialog_basic, :elm_win_desktop, :elm_win_dock, :elm_win_toolbar, :elm_win_menu, :elm_win_utility, :elm_win_splash,
43
+ :elm_win_dropdown_menu, :elm_win_popup_menu, :elm_win_tooltip, :elm_win_notification, :elm_win_combo, :elm_win_dnd, :elm_win_inlined_image ]
44
44
  # typedef enum _Elm_Win_Keyboard_Mode {...} Elm_Win_Keyboard_Mode;
45
- enum :elm_win_keyboard_mode, [ :elm_win_keyboard_unknown, :elm_win_keyboard_off, :elm_win_keyboard_on, :elm_win_keyboard_alpha,
46
- :elm_win_keyboard_numeric, :elm_win_keyboard_pin, :elm_win_keyboard_phone_number, :elm_win_keyboard_hex, :elm_win_keyboard_terminal,
47
- :elm_win_keyboard_password, :elm_win_keyboard_ip, :elm_win_keyboard_host, :elm_win_keyboard_file, :elm_win_keyboard_url, :elm_win_keyboard_keypad,
48
- :elm_win_keyboard_j2me ]
45
+ enum :elm_win_keyboard_mode, [ :elm_win_keyboard_unknown, :elm_win_keyboard_off, :elm_win_keyboard_on, :elm_win_keyboard_alpha, :elm_win_keyboard_numeric,
46
+ :elm_win_keyboard_pin, :elm_win_keyboard_phone_number, :elm_win_keyboard_hex, :elm_win_keyboard_terminal, :elm_win_keyboard_password, :elm_win_keyboard_ip,
47
+ :elm_win_keyboard_host, :elm_win_keyboard_file, :elm_win_keyboard_url, :elm_win_keyboard_keypad, :elm_win_keyboard_j2me ]
49
48
  # typedef enum _Elm_Illume_Command {...} Elm_Illume_Command;
50
- enum :elm_illume_command, [ :elm_illume_command_focus_back, :elm_illume_command_focus_forward, :elm_illume_command_focus_home,
51
- :elm_illume_command_close ]
49
+ enum :elm_illume_command, [ :elm_illume_command_focus_back, :elm_illume_command_focus_forward, :elm_illume_command_focus_home, :elm_illume_command_close ]
52
50
  # typedef enum _Elm_Bg_Option {...} Elm_Bg_Option;
53
51
  enum :elm_bg_option, [ :elm_bg_option_center, :elm_bg_option_scale, :elm_bg_option_stretch, :elm_bg_option_tile ]
54
52
  # typedef enum _Elm_Icon_Lookup_Order {...} Elm_Icon_Lookup_Order;
55
53
  enum :elm_icon_lookup_order, [ :elm_icon_lookup_fdo_theme, :elm_icon_lookup_theme_fdo, :elm_icon_lookup_fdo, :elm_icon_lookup_theme ]
56
54
  # typedef enum _Elm_Image_Orient {...} Elm_Image_Orient;
57
- enum :elm_image_orient, [ :elm_image_orient_none, :elm_image_rotate_90_cw, :elm_image_rotate_180_cw, :elm_image_rotate_90_ccw,
58
- :elm_image_flip_horizontal, :elm_image_flip_vertical, :elm_image_flip_transpose, :elm_image_flip_transverse ]
55
+ enum :elm_image_orient, [ :elm_image_orient_none, :elm_image_rotate_90_cw, :elm_image_rotate_180_cw, :elm_image_rotate_90_ccw, :elm_image_flip_horizontal,
56
+ :elm_image_flip_vertical, :elm_image_flip_transpose, :elm_image_flip_transverse ]
59
57
  # typedef enum _Elm_Scroller_Policy {...} Elm_Scroller_Policy;
60
58
  enum :elm_scroller_policy, [ :elm_scroller_policy_auto, 0, :elm_scroller_policy_on, :elm_scroller_policy_off, :elm_scroller_policy_last ]
61
59
  typedef :pointer, :elm_scroller_policy_p
62
60
  # typedef enum _Elm_Clock_Digedit {...} Elm_Clock_Digedit;
63
- enum :elm_clock_digedit, [ :elm_clock_none, 0, :elm_clock_hour_decimal, 1, :elm_clock_hour_unit, 1, :elm_clock_min_decimal, 1,
64
- :elm_clock_min_unit, 1, :elm_clock_sec_decimal, 1, :elm_clock_sec_unit, 1, :elm_clock_all ]
61
+ enum :elm_clock_digedit, [ :elm_clock_none, 0, :elm_clock_hour_decimal, 1, :elm_clock_hour_unit, 1, :elm_clock_min_decimal, 1, :elm_clock_min_unit, 1,
62
+ :elm_clock_sec_decimal, 1, :elm_clock_sec_unit, 1, :elm_clock_all ]
65
63
  # typedef enum _Elm_Notify_Orient {...} Elm_Notify_Orient;
66
- enum :elm_notify_orient, [ :elm_notify_orient_top, :elm_notify_orient_center, :elm_notify_orient_bottom, :elm_notify_orient_left,
67
- :elm_notify_orient_right, :elm_notify_orient_top_left, :elm_notify_orient_top_right, :elm_notify_orient_bottom_left, :elm_notify_orient_bottom_right,
68
- :elm_notify_orient_last ]
64
+ enum :elm_notify_orient, [ :elm_notify_orient_top, :elm_notify_orient_center, :elm_notify_orient_bottom, :elm_notify_orient_left, :elm_notify_orient_right,
65
+ :elm_notify_orient_top_left, :elm_notify_orient_top_right, :elm_notify_orient_bottom_left, :elm_notify_orient_bottom_right, :elm_notify_orient_last ]
69
66
  # typedef enum _Elm_Hover_Axis {...} Elm_Hover_Axis;
70
67
  enum :elm_hover_axis, [ :elm_hover_axis_none, :elm_hover_axis_horizontal, :elm_hover_axis_vertical, :elm_hover_axis_both ]
71
68
  # typedef enum _Elm_Icon_Type {...} Elm_Icon_Type;
72
69
  enum :elm_icon_type, [ :elm_icon_none, :elm_icon_file, :elm_icon_standard ]
73
70
  typedef :pointer, :elm_icon_type_p
74
71
  # typedef enum _Elm_Thumb_Animation_Setting {...} Elm_Thumb_Animation_Setting;
75
- enum :elm_thumb_animation_setting, [ :elm_thumb_animation_start, 0, :elm_thumb_animation_loop, :elm_thumb_animation_stop,
76
- :elm_thumb_animation_last ]
72
+ enum :elm_thumb_animation_setting, [ :elm_thumb_animation_start, 0, :elm_thumb_animation_loop, :elm_thumb_animation_stop, :elm_thumb_animation_last ]
77
73
  # typedef enum _Elm_Toolbar_Shrink_Mode {...} Elm_Toolbar_Shrink_Mode;
78
74
  enum :elm_toolbar_shrink_mode, [ :elm_toolbar_shrink_none, :elm_toolbar_shrink_hide, :elm_toolbar_shrink_scroll, :elm_toolbar_shrink_menu ]
79
75
  # typedef enum _Elm_List_Mode {...} Elm_List_Mode;
80
76
  enum :elm_list_mode, [ :elm_list_compress, 0, :elm_list_scroll, :elm_list_limit, :elm_list_expand, :elm_list_last ]
81
77
  # typedef enum _Elm_Actionslider_Pos {...} Elm_Actionslider_Pos;
82
- enum :elm_actionslider_pos, [ :elm_actionslider_none, 0, :elm_actionslider_left, 1, :elm_actionslider_center, 1, :elm_actionslider_right, 1,
83
- :elm_actionslider_all ]
78
+ enum :elm_actionslider_pos, [ :elm_actionslider_none, 0, :elm_actionslider_left, 1, :elm_actionslider_center, 1, :elm_actionslider_right, 1, :elm_actionslider_all
79
+ ]
84
80
  # typedef enum _Elm_Genlist_Item_Flags {...} Elm_Genlist_Item_Flags;
85
81
  enum :elm_genlist_item_flags, [ :elm_genlist_item_none, 0, :elm_genlist_item_subitems, :elm_genlist_item_group ]
86
82
  # typedef enum _Elm_Fileselector_Mode {...} Elm_Fileselector_Mode;
@@ -91,8 +87,7 @@ module Efl
91
87
  # typedef enum _Elm_Map_Zoom_Mode {...} Elm_Map_Zoom_Mode;
92
88
  enum :elm_map_zoom_mode, [ :elm_map_zoom_mode_manual, :elm_map_zoom_mode_auto_fit, :elm_map_zoom_mode_auto_fill, :elm_map_zoom_mode_last ]
93
89
  # typedef enum _Elm_Map_Route_Sources {...} Elm_Map_Route_Sources;
94
- enum :elm_map_route_sources, [ :elm_map_route_source_yours, :elm_map_route_source_monav, :elm_map_route_source_ors, :elm_map_route_source_last
95
- ]
90
+ enum :elm_map_route_sources, [ :elm_map_route_source_yours, :elm_map_route_source_monav, :elm_map_route_source_ors, :elm_map_route_source_last ]
96
91
  # typedef enum _Elm_Map_Name_Sources {...} Elm_Map_Name_Sources;
97
92
  enum :elm_map_name_sources, [ :elm_map_name_source_nominatim, :elm_map_name_source_last ]
98
93
  # typedef enum _Elm_Map_Route_Type {...} Elm_Map_Route_Type;
@@ -104,16 +99,14 @@ module Efl
104
99
  # typedef enum _Elm_Panel_Orient {...} Elm_Panel_Orient;
105
100
  enum :elm_panel_orient, [ :elm_panel_orient_top, :elm_panel_orient_bottom, :elm_panel_orient_left, :elm_panel_orient_right ]
106
101
  # typedef enum _Elm_Flip_Mode {...} Elm_Flip_Mode;
107
- enum :elm_flip_mode, [ :elm_flip_rotate_y_center_axis, :elm_flip_rotate_x_center_axis, :elm_flip_rotate_xz_center_axis,
108
- :elm_flip_rotate_yz_center_axis, :elm_flip_cube_left, :elm_flip_cube_right, :elm_flip_cube_up, :elm_flip_cube_down ]
102
+ enum :elm_flip_mode, [ :elm_flip_rotate_y_center_axis, :elm_flip_rotate_x_center_axis, :elm_flip_rotate_xz_center_axis, :elm_flip_rotate_yz_center_axis,
103
+ :elm_flip_cube_left, :elm_flip_cube_right, :elm_flip_cube_up, :elm_flip_cube_down ]
109
104
  # typedef enum {...} Elm_Animator_Curve_Style;
110
105
  enum :elm_animator_curve_style, [ :elm_animator_curve_linear, :elm_animator_curve_in_out, :elm_animator_curve_in, :elm_animator_curve_out ]
111
106
  # typedef enum {...} Elm_Calendar_Mark_Repeat;
112
- enum :elm_calendar_mark_repeat, [ :elm_calendar_unique, :elm_calendar_daily, :elm_calendar_weekly, :elm_calendar_monthly,
113
- :elm_calendar_annually ]
107
+ enum :elm_calendar_mark_repeat, [ :elm_calendar_unique, :elm_calendar_daily, :elm_calendar_weekly, :elm_calendar_monthly, :elm_calendar_annually ]
114
108
  # typedef enum _Elm_Ctxpopup_Direction {...} Elm_Ctxpopup_Direction;
115
- enum :elm_ctxpopup_direction, [ :elm_ctxpopup_direction_down, :elm_ctxpopup_direction_right, :elm_ctxpopup_direction_left,
116
- :elm_ctxpopup_direction_up ]
109
+ enum :elm_ctxpopup_direction, [ :elm_ctxpopup_direction_down, :elm_ctxpopup_direction_right, :elm_ctxpopup_direction_left, :elm_ctxpopup_direction_up ]
117
110
  typedef :pointer, :elm_ctxpopup_direction_p
118
111
  # typedef enum {...} Elm_Transit_Tween_Mode;
119
112
  enum :elm_transit_tween_mode, [ :elm_transit_tween_mode_linear, :elm_transit_tween_mode_sinusoidal, :elm_transit_tween_mode_decelerate,
@@ -126,12 +119,13 @@ module Efl
126
119
  # typedef enum {...} Elm_Transit_Effect_Wipe_Type;
127
120
  enum :elm_transit_effect_wipe_type, [ :elm_transit_effect_wipe_type_hide, :elm_transit_effect_wipe_type_show ]
128
121
  # typedef enum {...} Elm_Store_Item_Mapping_Type;
129
- enum :elm_store_item_mapping_type, [ :elm_store_item_mapping_none, 0, :elm_store_item_mapping_label, :elm_store_item_mapping_state,
130
- :elm_store_item_mapping_icon, :elm_store_item_mapping_photo, :elm_store_item_mapping_custom, :elm_store_item_mapping_last ]
122
+ enum :elm_store_item_mapping_type, [ :elm_store_item_mapping_none, 0, :elm_store_item_mapping_label, :elm_store_item_mapping_state, :elm_store_item_mapping_icon,
123
+ :elm_store_item_mapping_photo, :elm_store_item_mapping_custom, :elm_store_item_mapping_last ]
131
124
  #
132
125
  # TYPEDEFS
133
126
  # typedef struct _Elm_Version Elm_Version;
134
127
  typedef :pointer, :elm_version
128
+ typedef :pointer, :elm_version_p
135
129
  # typedef struct _Elm_Event_Policy_Changed Elm_Event_Policy_Changed;
136
130
  typedef :pointer, :elm_event_policy_changed
137
131
  # typedef struct _Elm_Text_Class Elm_Text_Class;
@@ -333,14 +327,16 @@ module Efl
333
327
  # typedef void *(*Elm_Store_Item_Mapping_Cb) (void *data, Elm_Store_Item *sti, const char *part);
334
328
  callback :elm_store_item_mapping_cb, [ :void_p, :elm_store_item_p, :string ], :void_p
335
329
  #
336
- # FUNCTIONS
337
- fcts = [
330
+ # VARIABLES
338
331
  # EAPI extern Elm_Version *elm_version;
339
- # FIXME
332
+ attach_variable :elm_version, :elm_version_p
340
333
  # EAPI extern int ELM_ECORE_EVENT_ETHUMB_CONNECT;
341
- # FIXME
334
+ attach_variable :ELM_ECORE_EVENT_ETHUMB_CONNECT, :int
342
335
  # EAPI extern int ELM_EVENT_POLICY_CHANGED;
343
- # FIXME
336
+ attach_variable :ELM_EVENT_POLICY_CHANGED, :int
337
+ #
338
+ # FUNCTIONS
339
+ fcts = [
344
340
  # EAPI int elm_init(int argc, char **argv);
345
341
  [ :elm_init, [ :int, :string_array ], :int ],
346
342
  # EAPI int elm_shutdown(void);
@@ -1290,11 +1286,9 @@ module Efl
1290
1286
  # EAPI Elm_Gengrid_Item *elm_gengrid_item_prepend(Evas_Object *obj, const Elm_Gengrid_Item_Class *gic, const void *data, Evas_Smart_Cb func, const void *func_data);
1291
1287
  [ :elm_gengrid_item_prepend, [ :evas_object_p, :elm_gengrid_item_class_p, :void_p, :evas_smart_cb, :void_p ], :elm_gengrid_item_p ],
1292
1288
  # EAPI Elm_Gengrid_Item *elm_gengrid_item_insert_before(Evas_Object *obj, const Elm_Gengrid_Item_Class *gic, const void *data, Elm_Gengrid_Item *relative, Evas_Smart_Cb func, const void *func_data);
1293
- [ :elm_gengrid_item_insert_before, [ :evas_object_p, :elm_gengrid_item_class_p, :void_p, :elm_gengrid_item_p, :evas_smart_cb, :void_p ],
1294
- :elm_gengrid_item_p ],
1289
+ [ :elm_gengrid_item_insert_before, [ :evas_object_p, :elm_gengrid_item_class_p, :void_p, :elm_gengrid_item_p, :evas_smart_cb, :void_p ], :elm_gengrid_item_p ],
1295
1290
  # EAPI Elm_Gengrid_Item *elm_gengrid_item_insert_after(Evas_Object *obj, const Elm_Gengrid_Item_Class *gic, const void *data, Elm_Gengrid_Item *relative, Evas_Smart_Cb func, const void *func_data);
1296
- [ :elm_gengrid_item_insert_after, [ :evas_object_p, :elm_gengrid_item_class_p, :void_p, :elm_gengrid_item_p, :evas_smart_cb, :void_p ],
1297
- :elm_gengrid_item_p ],
1291
+ [ :elm_gengrid_item_insert_after, [ :evas_object_p, :elm_gengrid_item_class_p, :void_p, :elm_gengrid_item_p, :evas_smart_cb, :void_p ], :elm_gengrid_item_p ],
1298
1292
  # EAPI Evas_Object *elm_clock_add(Evas_Object *parent);
1299
1293
  [ :elm_clock_add, [ :evas_object_p ], :evas_object_p ],
1300
1294
  # EAPI void elm_clock_time_set(Evas_Object *obj, int hrs, int min, int sec);
@@ -1904,14 +1898,11 @@ module Efl
1904
1898
  # EAPI Elm_List_Item *elm_list_item_prepend(Evas_Object *obj, const char *label, Evas_Object *icon, Evas_Object *end, Evas_Smart_Cb func, const void *data);
1905
1899
  [ :elm_list_item_prepend, [ :evas_object_p, :string, :evas_object_p, :evas_object_p, :evas_smart_cb, :void_p ], :elm_list_item_p ],
1906
1900
  # EAPI Elm_List_Item *elm_list_item_insert_before(Evas_Object *obj, Elm_List_Item *before, const char *label, Evas_Object *icon, Evas_Object *end, Evas_Smart_Cb func, const void *data);
1907
- [ :elm_list_item_insert_before, [ :evas_object_p, :elm_list_item_p, :string, :evas_object_p, :evas_object_p, :evas_smart_cb, :void_p ],
1908
- :elm_list_item_p ],
1901
+ [ :elm_list_item_insert_before, [ :evas_object_p, :elm_list_item_p, :string, :evas_object_p, :evas_object_p, :evas_smart_cb, :void_p ], :elm_list_item_p ],
1909
1902
  # EAPI Elm_List_Item *elm_list_item_insert_after(Evas_Object *obj, Elm_List_Item *after, const char *label, Evas_Object *icon, Evas_Object *end, Evas_Smart_Cb func, const void *data);
1910
- [ :elm_list_item_insert_after, [ :evas_object_p, :elm_list_item_p, :string, :evas_object_p, :evas_object_p, :evas_smart_cb, :void_p ],
1911
- :elm_list_item_p ],
1903
+ [ :elm_list_item_insert_after, [ :evas_object_p, :elm_list_item_p, :string, :evas_object_p, :evas_object_p, :evas_smart_cb, :void_p ], :elm_list_item_p ],
1912
1904
  # EAPI Elm_List_Item *elm_list_item_sorted_insert(Evas_Object *obj, const char *label, Evas_Object *icon, Evas_Object *end, Evas_Smart_Cb func, const void *data, Eina_Compare_Cb cmp_func);
1913
- [ :elm_list_item_sorted_insert, [ :evas_object_p, :string, :evas_object_p, :evas_object_p, :evas_smart_cb, :void_p, :eina_compare_cb ],
1914
- :elm_list_item_p ],
1905
+ [ :elm_list_item_sorted_insert, [ :evas_object_p, :string, :evas_object_p, :evas_object_p, :evas_smart_cb, :void_p, :eina_compare_cb ], :elm_list_item_p ],
1915
1906
  # EAPI void elm_list_clear(Evas_Object *obj);
1916
1907
  [ :elm_list_clear, [ :evas_object_p ], :void ],
1917
1908
  # EAPI void elm_list_go(Evas_Object *obj);
@@ -2131,17 +2122,17 @@ module Efl
2131
2122
  # EAPI double elm_genlist_longpress_timeout_get(const Evas_Object *obj);
2132
2123
  [ :elm_genlist_longpress_timeout_get, [ :evas_object_p ], :double ],
2133
2124
  # EAPI Elm_Genlist_Item *elm_genlist_item_append(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Genlist_Item *parent, Elm_Genlist_Item_Flags flags, Evas_Smart_Cb func, const void *func_data);
2134
- [ :elm_genlist_item_append, [ :evas_object_p, :elm_genlist_item_class_p, :void_p, :elm_genlist_item_p, :elm_genlist_item_flags,
2135
- :evas_smart_cb, :void_p ], :elm_genlist_item_p ],
2125
+ [ :elm_genlist_item_append, [ :evas_object_p, :elm_genlist_item_class_p, :void_p, :elm_genlist_item_p, :elm_genlist_item_flags, :evas_smart_cb, :void_p ],
2126
+ :elm_genlist_item_p ],
2136
2127
  # EAPI Elm_Genlist_Item *elm_genlist_item_prepend(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Genlist_Item *parent, Elm_Genlist_Item_Flags flags, Evas_Smart_Cb func, const void *func_data);
2137
- [ :elm_genlist_item_prepend, [ :evas_object_p, :elm_genlist_item_class_p, :void_p, :elm_genlist_item_p, :elm_genlist_item_flags,
2138
- :evas_smart_cb, :void_p ], :elm_genlist_item_p ],
2128
+ [ :elm_genlist_item_prepend, [ :evas_object_p, :elm_genlist_item_class_p, :void_p, :elm_genlist_item_p, :elm_genlist_item_flags, :evas_smart_cb, :void_p ],
2129
+ :elm_genlist_item_p ],
2139
2130
  # EAPI Elm_Genlist_Item *elm_genlist_item_insert_before(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Genlist_Item *parent, Elm_Genlist_Item *before, Elm_Genlist_Item_Flags flags, Evas_Smart_Cb func, const void *func_data);
2140
- [ :elm_genlist_item_insert_before, [ :evas_object_p, :elm_genlist_item_class_p, :void_p, :elm_genlist_item_p, :elm_genlist_item_p,
2141
- :elm_genlist_item_flags, :evas_smart_cb, :void_p ], :elm_genlist_item_p ],
2131
+ [ :elm_genlist_item_insert_before, [ :evas_object_p, :elm_genlist_item_class_p, :void_p, :elm_genlist_item_p, :elm_genlist_item_p, :elm_genlist_item_flags,
2132
+ :evas_smart_cb, :void_p ], :elm_genlist_item_p ],
2142
2133
  # EAPI Elm_Genlist_Item *elm_genlist_item_insert_after(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Genlist_Item *parent, Elm_Genlist_Item *after, Elm_Genlist_Item_Flags flags, Evas_Smart_Cb func, const void *func_data);
2143
- [ :elm_genlist_item_insert_after, [ :evas_object_p, :elm_genlist_item_class_p, :void_p, :elm_genlist_item_p, :elm_genlist_item_p,
2144
- :elm_genlist_item_flags, :evas_smart_cb, :void_p ], :elm_genlist_item_p ],
2134
+ [ :elm_genlist_item_insert_after, [ :evas_object_p, :elm_genlist_item_class_p, :void_p, :elm_genlist_item_p, :elm_genlist_item_p, :elm_genlist_item_flags,
2135
+ :evas_smart_cb, :void_p ], :elm_genlist_item_p ],
2145
2136
  # EAPI Elm_Genlist_Item *elm_genlist_selected_item_get(const Evas_Object *obj);
2146
2137
  [ :elm_genlist_selected_item_get, [ :evas_object_p ], :elm_genlist_item_p ],
2147
2138
  # EAPI const Eina_List *elm_genlist_selected_items_get(const Evas_Object *obj);
@@ -2294,6 +2285,8 @@ module Efl
2294
2285
  [ :elm_slideshow_add, [ :evas_object_p ], :evas_object_p ],
2295
2286
  # EAPI Elm_Slideshow_Item *elm_slideshow_item_add(Evas_Object *obj, const Elm_Slideshow_Item_Class *itc, const void *data);
2296
2287
  [ :elm_slideshow_item_add, [ :evas_object_p, :elm_slideshow_item_class_p, :void_p ], :elm_slideshow_item_p ],
2288
+ # EAPI Elm_Slideshow_Item *elm_slideshow_item_sorted_insert(Evas_Object *obj, const Elm_Slideshow_Item_Class *itc, const void *data, Eina_Compare_Cb func);
2289
+ [ :elm_slideshow_item_sorted_insert, [ :evas_object_p, :elm_slideshow_item_class_p, :void_p, :eina_compare_cb ], :elm_slideshow_item_p ],
2297
2290
  # EAPI void elm_slideshow_show(Elm_Slideshow_Item *item);
2298
2291
  [ :elm_slideshow_show, [ :elm_slideshow_item_p ], :void ],
2299
2292
  # EAPI void elm_slideshow_next(Evas_Object *obj);
@@ -2326,6 +2319,8 @@ module Efl
2326
2319
  [ :elm_slideshow_item_current_get, [ :evas_object_p ], :elm_slideshow_item_p ],
2327
2320
  # EAPI Evas_Object* elm_slideshow_item_object_get(const Elm_Slideshow_Item* item);
2328
2321
  [ :elm_slideshow_item_object_get, [ :elm_slideshow_item_p ], :evas_object_p ],
2322
+ # EAPI Elm_Slideshow_Item *elm_slideshow_item_nth_get(const Evas_Object *obj, unsigned int nth);
2323
+ [ :elm_slideshow_item_nth_get, [ :evas_object_p, :uint ], :elm_slideshow_item_p ],
2329
2324
  # EAPI const char *elm_slideshow_layout_get(const Evas_Object *obj);
2330
2325
  [ :elm_slideshow_layout_get, [ :evas_object_p ], :string ],
2331
2326
  # EAPI void elm_slideshow_layout_set(Evas_Object *obj, const char *layout);
@@ -2340,6 +2335,8 @@ module Efl
2340
2335
  [ :elm_slideshow_cache_after_set, [ :evas_object_p, :int ], :void ],
2341
2336
  # EAPI int elm_slideshow_cache_after_get(const Evas_Object *obj);
2342
2337
  [ :elm_slideshow_cache_after_get, [ :evas_object_p ], :int ],
2338
+ # EAPI unsigned int elm_slideshow_count_get(const Evas_Object *obj);
2339
+ [ :elm_slideshow_count_get, [ :evas_object_p ], :uint ],
2343
2340
  # EAPI Evas_Object *elm_fileselector_add(Evas_Object *parent);
2344
2341
  [ :elm_fileselector_add, [ :evas_object_p ], :evas_object_p ],
2345
2342
  # EAPI void elm_fileselector_is_save_set(Evas_Object *obj, Eina_Bool is_save);
@@ -2518,8 +2515,8 @@ module Efl
2518
2515
  [ :elm_map_add, [ :evas_object_p ], :evas_object_p ],
2519
2516
  # EAPI void elm_map_zoom_set(Evas_Object *obj, int zoom);
2520
2517
  [ :elm_map_zoom_set, [ :evas_object_p, :int ], :void ],
2521
- # EAPI double elm_map_zoom_get(const Evas_Object *obj);
2522
- [ :elm_map_zoom_get, [ :evas_object_p ], :double ],
2518
+ # EAPI int elm_map_zoom_get(const Evas_Object *obj);
2519
+ [ :elm_map_zoom_get, [ :evas_object_p ], :int ],
2523
2520
  # EAPI void elm_map_zoom_mode_set(Evas_Object *obj, Elm_Map_Zoom_Mode mode);
2524
2521
  [ :elm_map_zoom_mode_set, [ :evas_object_p, :elm_map_zoom_mode ], :void ],
2525
2522
  # EAPI Elm_Map_Zoom_Mode elm_map_zoom_mode_get(const Evas_Object *obj);
@@ -2601,7 +2598,7 @@ module Efl
2601
2598
  # EAPI const char *elm_map_source_name_get(const Evas_Object *obj);
2602
2599
  [ :elm_map_source_name_get, [ :evas_object_p ], :string ],
2603
2600
  # EAPI void elm_map_route_source_set(Evas_Object *obj, Elm_Map_Route_Sources source);
2604
- [ :elm_map_route_source_set, [ :evas_object_p, :elm_map_route_sources ], :void ],
2601
+ # FIXME [ :elm_map_route_source_set, [ :evas_object_p, :elm_map_route_sources ], :void ],
2605
2602
  # EAPI Elm_Map_Route_Sources elm_map_route_source_get(const Evas_Object *obj);
2606
2603
  [ :elm_map_route_source_get, [ :evas_object_p ], :elm_map_route_sources ],
2607
2604
  # EAPI int elm_map_source_zoom_min_get(const Evas_Object *obj);
@@ -3067,8 +3064,8 @@ module Efl
3067
3064
  # EAPI Evas_Object *elm_ctxpopup_content_unset(Evas_Object *obj);
3068
3065
  [ :elm_ctxpopup_content_unset, [ :evas_object_p ], :evas_object_p ],
3069
3066
  # EAPI void elm_ctxpopup_direction_priority_set(Evas_Object *obj, Elm_Ctxpopup_Direction first, Elm_Ctxpopup_Direction second, Elm_Ctxpopup_Direction third, Elm_Ctxpopup_Direction fourth);
3070
- [ :elm_ctxpopup_direction_priority_set, [ :evas_object_p, :elm_ctxpopup_direction, :elm_ctxpopup_direction, :elm_ctxpopup_direction,
3071
- :elm_ctxpopup_direction ], :void ],
3067
+ [ :elm_ctxpopup_direction_priority_set, [ :evas_object_p, :elm_ctxpopup_direction, :elm_ctxpopup_direction, :elm_ctxpopup_direction, :elm_ctxpopup_direction ],
3068
+ :void ],
3072
3069
  # EAPI void elm_ctxpopup_direction_priority_get(Evas_Object *obj, Elm_Ctxpopup_Direction *first, Elm_Ctxpopup_Direction *second, Elm_Ctxpopup_Direction *third, Elm_Ctxpopup_Direction *fourth);
3073
3070
  [ :elm_ctxpopup_direction_priority_get, [ :evas_object_p, :elm_ctxpopup_direction_p, :elm_ctxpopup_direction_p, :elm_ctxpopup_direction_p,
3074
3071
  :elm_ctxpopup_direction_p ], :void ],