ffi-efl 0.0.10 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (209) hide show
  1. data/Changelog +10 -2
  2. data/README.rdoc +41 -30
  3. data/lib/efl.rb +88 -14
  4. data/lib/efl/ecore.rb +1 -0
  5. data/lib/efl/ecore_evas.rb +4 -2
  6. data/lib/efl/ecore_getopt.rb +12 -11
  7. data/lib/efl/ecore_input.rb +1 -0
  8. data/lib/efl/eet.rb +1 -0
  9. data/lib/efl/eina.rb +1 -0
  10. data/lib/efl/eina_hash.rb +1 -0
  11. data/lib/efl/eina_list.rb +1 -0
  12. data/lib/efl/eina_log.rb +4 -0
  13. data/lib/efl/elementary.rb +0 -662
  14. data/lib/efl/elementary_all.rb +82 -0
  15. data/lib/efl/elm/elm_actionslider.rb +22 -0
  16. data/lib/efl/elm/elm_anchorblock.rb +22 -0
  17. data/lib/efl/elm/elm_anchorview.rb +22 -0
  18. data/lib/efl/elm/elm_bg.rb +37 -0
  19. data/lib/efl/elm/elm_box.rb +42 -0
  20. data/lib/efl/elm/elm_bubble.rb +22 -0
  21. data/lib/efl/elm/elm_button.rb +22 -0
  22. data/lib/efl/elm/elm_calendar.rb +22 -0
  23. data/lib/efl/elm/elm_check.rb +22 -0
  24. data/lib/efl/elm/elm_clock.rb +22 -0
  25. data/lib/efl/elm/elm_cnp.rb +30 -0
  26. data/lib/efl/elm/elm_colorselector.rb +22 -0
  27. data/lib/efl/elm/elm_conform.rb +26 -0
  28. data/lib/efl/elm/elm_ctxpopup.rb +27 -0
  29. data/lib/efl/elm/elm_cursor.rb +20 -0
  30. data/lib/efl/elm/elm_debug.rb +25 -0
  31. data/lib/efl/elm/elm_diskselector.rb +51 -0
  32. data/lib/efl/elm/elm_entry.rb +22 -0
  33. data/lib/efl/elm/elm_factory.rb +22 -0
  34. data/lib/efl/elm/elm_fileselector.rb +22 -0
  35. data/lib/efl/elm/elm_fileselector_button.rb +22 -0
  36. data/lib/efl/elm/elm_fileselector_entry.rb +22 -0
  37. data/lib/efl/elm/elm_flip.rb +22 -0
  38. data/lib/efl/elm/elm_flipselector.rb +56 -0
  39. data/lib/efl/elm/elm_focus.rb +74 -0
  40. data/lib/efl/elm/elm_frame.rb +22 -0
  41. data/lib/efl/elm/elm_gengrid.rb +68 -0
  42. data/lib/efl/elm/elm_genlist.rb +79 -0
  43. data/lib/efl/elm/elm_gesture_layer.rb +22 -0
  44. data/lib/efl/elm/elm_glview.rb +22 -0
  45. data/lib/efl/elm/elm_grid.rb +22 -0
  46. data/lib/efl/elm/elm_hover.rb +22 -0
  47. data/lib/efl/elm/elm_hoversel.rb +27 -0
  48. data/lib/efl/elm/elm_icon.rb +26 -0
  49. data/lib/efl/elm/elm_image.rb +22 -0
  50. data/lib/efl/elm/elm_index.rb +31 -0
  51. data/lib/efl/elm/elm_label.rb +22 -0
  52. data/lib/efl/elm/elm_layout.rb +26 -0
  53. data/lib/efl/elm/elm_list.rb +55 -0
  54. data/lib/efl/elm/elm_map.rb +22 -0
  55. data/lib/efl/elm/elm_mapbuf.rb +22 -0
  56. data/lib/efl/elm/elm_menu.rb +55 -0
  57. data/lib/efl/elm/elm_mirroring.rb +36 -0
  58. data/lib/efl/elm/elm_multibuttonentry.rb +58 -0
  59. data/lib/efl/elm/elm_naviframe.rb +42 -0
  60. data/lib/efl/elm/elm_notify.rb +22 -0
  61. data/lib/efl/elm/elm_object.rb +68 -0
  62. data/lib/efl/elm/elm_object_item.rb +20 -0
  63. data/lib/efl/elm/elm_panel.rb +22 -0
  64. data/lib/efl/elm/elm_panes.rb +22 -0
  65. data/lib/efl/elm/elm_photo.rb +22 -0
  66. data/lib/efl/elm/elm_photocam.rb +22 -0
  67. data/lib/efl/elm/elm_plug.rb +22 -0
  68. data/lib/efl/elm/elm_progressbar.rb +22 -0
  69. data/lib/efl/elm/elm_radio.rb +22 -0
  70. data/lib/efl/elm/elm_route.rb +22 -0
  71. data/lib/efl/elm/elm_scale.rb +28 -0
  72. data/lib/efl/elm/elm_scroll.rb +50 -0
  73. data/lib/efl/elm/elm_scroller.rb +22 -0
  74. data/lib/efl/elm/elm_segment_control.rb +39 -0
  75. data/lib/efl/elm/elm_separator.rb +22 -0
  76. data/lib/efl/elm/elm_slider.rb +22 -0
  77. data/lib/efl/elm/elm_slideshow.rb +41 -0
  78. data/lib/efl/elm/elm_spinner.rb +22 -0
  79. data/lib/efl/elm/elm_store.rb +43 -0
  80. data/lib/efl/elm/elm_table.rb +22 -0
  81. data/lib/efl/elm/elm_theme.rb +42 -0
  82. data/lib/efl/elm/elm_thumb.rb +22 -0
  83. data/lib/efl/elm/elm_toolbar.rb +63 -0
  84. data/lib/efl/elm/elm_tooltip.rb +20 -0
  85. data/lib/efl/elm/elm_transit.rb +78 -0
  86. data/lib/efl/elm/elm_video.rb +30 -0
  87. data/lib/efl/elm/elm_web.rb +22 -0
  88. data/lib/efl/elm/elm_win.rb +33 -0
  89. data/lib/efl/evas.rb +8 -7
  90. data/lib/efl/native.rb +45 -11
  91. data/lib/efl/native/ecore.rb +188 -210
  92. data/lib/efl/native/ecore_evas.rb +260 -207
  93. data/lib/efl/native/ecore_getopt.rb +17 -24
  94. data/lib/efl/native/ecore_input.rb +7 -11
  95. data/lib/efl/native/edje.rb +250 -202
  96. data/lib/efl/native/eet.rb +154 -155
  97. data/lib/efl/native/eina.rb +7 -13
  98. data/lib/efl/native/eina_hash.rb +41 -47
  99. data/lib/efl/native/eina_list.rb +39 -48
  100. data/lib/efl/native/eina_log.rb +21 -23
  101. data/lib/efl/native/eina_types.rb +8 -14
  102. data/lib/efl/native/eina_xattr.rb +21 -18
  103. data/lib/efl/native/elementary.rb +9 -3381
  104. data/lib/efl/native/elm/elm_actionslider.rb +54 -0
  105. data/lib/efl/native/elm/elm_anchorblock.rb +55 -0
  106. data/lib/efl/native/elm/elm_anchorview.rb +59 -0
  107. data/lib/efl/native/elm/elm_app.rb +53 -0
  108. data/lib/efl/native/elm/elm_bg.rb +53 -0
  109. data/lib/efl/native/elm/elm_box.rb +81 -0
  110. data/lib/efl/native/elm/elm_bubble.rb +44 -0
  111. data/lib/efl/native/elm/elm_button.rb +47 -0
  112. data/lib/efl/native/elm/elm_cache.rb +59 -0
  113. data/lib/efl/native/elm/elm_calendar.rb +76 -0
  114. data/lib/efl/native/elm/elm_check.rb +41 -0
  115. data/lib/efl/native/elm/elm_clock.rb +64 -0
  116. data/lib/efl/native/elm/elm_cnp.rb +54 -0
  117. data/lib/efl/native/elm/elm_colorselector.rb +39 -0
  118. data/lib/efl/native/elm/elm_config.rb +103 -0
  119. data/lib/efl/native/elm/elm_conform.rb +37 -0
  120. data/lib/efl/native/elm/elm_ctxpopup.rb +59 -0
  121. data/lib/efl/native/elm/elm_cursor.rb +51 -0
  122. data/lib/efl/native/elm/elm_debug.rb +37 -0
  123. data/lib/efl/native/elm/elm_diskselector.rb +76 -0
  124. data/lib/efl/native/elm/elm_engine.rb +41 -0
  125. data/lib/efl/native/elm/elm_entry.rb +242 -0
  126. data/lib/efl/native/elm/elm_factory.rb +41 -0
  127. data/lib/efl/native/elm/elm_fileselector.rb +67 -0
  128. data/lib/efl/native/elm/elm_fileselector_button.rb +63 -0
  129. data/lib/efl/native/elm/elm_fileselector_entry.rb +67 -0
  130. data/lib/efl/native/elm/elm_finger.rb +39 -0
  131. data/lib/efl/native/elm/elm_flip.rb +62 -0
  132. data/lib/efl/native/elm/elm_flipselector.rb +63 -0
  133. data/lib/efl/native/elm/elm_focus.rb +65 -0
  134. data/lib/efl/native/elm/elm_fonts.rb +66 -0
  135. data/lib/efl/native/elm/elm_frame.rb +45 -0
  136. data/lib/efl/native/elm/elm_general.rb +105 -0
  137. data/lib/efl/native/elm/elm_gengrid.rb +184 -0
  138. data/lib/efl/native/elm/elm_genlist.rb +240 -0
  139. data/lib/efl/native/elm/elm_gesture_layer.rb +76 -0
  140. data/lib/efl/native/elm/elm_glview.rb +70 -0
  141. data/lib/efl/native/elm/elm_grid.rb +51 -0
  142. data/lib/efl/native/elm/elm_hover.rb +51 -0
  143. data/lib/efl/native/elm/elm_hoversel.rb +60 -0
  144. data/lib/efl/native/elm/elm_icon.rb +97 -0
  145. data/lib/efl/native/elm/elm_image.rb +80 -0
  146. data/lib/efl/native/elm/elm_index.rb +63 -0
  147. data/lib/efl/native/elm/elm_label.rb +60 -0
  148. data/lib/efl/native/elm/elm_layout.rb +77 -0
  149. data/lib/efl/native/elm/elm_list.rb +105 -0
  150. data/lib/efl/native/elm/elm_map.rb +225 -0
  151. data/lib/efl/native/elm/elm_mapbuf.rb +47 -0
  152. data/lib/efl/native/elm/elm_menu.rb +77 -0
  153. data/lib/efl/native/elm/elm_mirroring.rb +45 -0
  154. data/lib/efl/native/elm/elm_multibuttonentry.rb +81 -0
  155. data/lib/efl/native/elm/elm_naviframe.rb +79 -0
  156. data/lib/efl/native/elm/elm_need.rb +41 -0
  157. data/lib/efl/native/elm/elm_notify.rb +57 -0
  158. data/lib/efl/native/elm/elm_object.rb +74 -0
  159. data/lib/efl/native/elm/elm_object_item.rb +93 -0
  160. data/lib/efl/native/elm/elm_panel.rb +55 -0
  161. data/lib/efl/native/elm/elm_panes.rb +51 -0
  162. data/lib/efl/native/elm/elm_password.rb +41 -0
  163. data/lib/efl/native/elm/elm_photo.rb +49 -0
  164. data/lib/efl/native/elm/elm_photocam.rb +74 -0
  165. data/lib/efl/native/elm/elm_plug.rb +39 -0
  166. data/lib/efl/native/elm/elm_progressbar.rb +61 -0
  167. data/lib/efl/native/elm/elm_radio.rb +49 -0
  168. data/lib/efl/native/elm/elm_route.rb +42 -0
  169. data/lib/efl/native/elm/elm_scale.rb +41 -0
  170. data/lib/efl/native/elm/elm_scroll.rb +49 -0
  171. data/lib/efl/native/elm/elm_scroller.rb +80 -0
  172. data/lib/efl/native/elm/elm_segment_control.rb +57 -0
  173. data/lib/efl/native/elm/elm_separator.rb +39 -0
  174. data/lib/efl/native/elm/elm_slider.rb +71 -0
  175. data/lib/efl/native/elm/elm_slideshow.rb +97 -0
  176. data/lib/efl/native/elm/elm_spinner.rb +73 -0
  177. data/lib/efl/native/elm/elm_store.rb +110 -0
  178. data/lib/efl/native/elm/elm_table.rb +53 -0
  179. data/lib/efl/native/elm/elm_theme.rb +81 -0
  180. data/lib/efl/native/elm/elm_thumb.rb +60 -0
  181. data/lib/efl/native/elm/elm_toolbar.rb +145 -0
  182. data/lib/efl/native/elm/elm_tooltip.rb +59 -0
  183. data/lib/efl/native/elm/elm_transit.rb +135 -0
  184. data/lib/efl/native/elm/elm_video.rb +71 -0
  185. data/lib/efl/native/elm/elm_web.rb +165 -0
  186. data/lib/efl/native/elm/elm_win.rb +221 -0
  187. data/lib/efl/native/emap.rb +28 -34
  188. data/lib/efl/native/evas.rb +640 -618
  189. data/spec/ecore_evas_spec.rb +28 -22
  190. data/spec/ecore_spec.rb +1 -0
  191. data/spec/edje_spec.rb +8 -1
  192. data/spec/eina_hash_spec.rb +0 -1
  193. data/spec/eina_list_spec.rb +0 -1
  194. data/spec/eina_log_spec.rb +10 -8
  195. data/spec/elm_spec.rb +4 -114
  196. data/spec/evas_spec.rb +13 -244
  197. data/spec/helper.rb +16 -15
  198. data/tasks/constants.rb +9 -9
  199. data/test/test_elm_win-native.rb +6 -4
  200. data/test/test_elm_win.rb +20 -19
  201. data/test/test_evas.rb +12 -12
  202. metadata +209 -64
  203. data/lib/efl/ffi.rb +0 -172
  204. data/test/test_elementary.rb +0 -271
  205. data/test/tests/test_actionslider.rb +0 -132
  206. data/test/tests/test_anchorbock.rb +0 -73
  207. data/test/tests/test_bg.rb +0 -151
  208. data/test/tests/test_box.rb +0 -147
  209. data/test/tests/test_buttons.rb +0 -114
@@ -1,18 +1,17 @@
1
1
  #! /usr/bin/env ruby
2
2
  # -*- coding: UTF-8 -*-
3
3
  #
4
- require 'efl/ffi'
4
+ require 'efl/native'
5
5
  #
6
6
  module Efl
7
7
  #
8
8
  module Eina
9
9
  #
10
- FCT_PREFIX = 'eina_'
10
+ FCT_PREFIX = 'eina_' unless const_defined? :FCT_PREFIX
11
11
  #
12
- def self.method_missing m, *args, &block
13
- sym, args_s = ModuleHelper.find_function m, FCT_PREFIX
14
- self.module_eval "def self.#{m} *args, █ r=Efl::Native.#{sym}(#{args_s}); yield r if block_given?; r; end"
15
- self.send m, *args, &block
12
+ def self.method_missing meth, *args, &block
13
+ sym = Efl::MethodResolver.resolve self, meth, FCT_PREFIX
14
+ self.send sym, *args, &block
16
15
  end
17
16
  #
18
17
  end
@@ -21,18 +20,13 @@ module Efl
21
20
  #
22
21
  ffi_lib 'eina'
23
22
  #
24
- # ENUMS
25
- #
26
23
  # TYPEDEFS
27
24
  # typedef struct _Eina_Version Eina_Version;
28
25
  typedef :pointer, :eina_version
29
- typedef :pointer, :eina_version_p
30
- #
31
- # CALLBACKS
32
26
  #
33
27
  # VARIABLES
34
28
  # EAPI extern Eina_Version *eina_version;
35
- attach_variable :eina_version, :eina_version_p
29
+ attach_variable :eina_version, :eina_version
36
30
  #
37
31
  # FUNCTIONS
38
32
  fcts = [
@@ -45,7 +39,7 @@ module Efl
45
39
  # EAPI int eina_threads_shutdown(void);
46
40
  [ :eina_threads_shutdown, [ ], :int ],
47
41
  # EAPI Eina_Bool eina_main_loop_is(void);
48
- [ :eina_main_loop_is, [ ], :eina_bool ],
42
+ [ :eina_main_loop_is, [ ], :bool ],
49
43
  # EAPI void eina_main_loop_define(void);
50
44
  [ :eina_main_loop_define, [ ], :void ],
51
45
  ]
@@ -1,18 +1,17 @@
1
1
  #! /usr/bin/env ruby
2
2
  # -*- coding: UTF-8 -*-
3
3
  #
4
- require 'efl/ffi'
4
+ require 'efl/native'
5
5
  #
6
6
  module Efl
7
7
  #
8
8
  module EinaHash
9
9
  #
10
- FCT_PREFIX = 'eina_hash_'
10
+ FCT_PREFIX = 'eina_hash_' unless const_defined? :FCT_PREFIX
11
11
  #
12
- def self.method_missing m, *args, &block
13
- sym, args_s = ModuleHelper.find_function m, FCT_PREFIX
14
- self.module_eval "def self.#{m} *args, █ r=Efl::Native.#{sym}(#{args_s}); yield r if block_given?; r; end"
15
- self.send m, *args, &block
12
+ def self.method_missing meth, *args, &block
13
+ sym = Efl::MethodResolver.resolve self, meth, FCT_PREFIX
14
+ self.send sym, *args, &block
16
15
  end
17
16
  #
18
17
  end
@@ -21,91 +20,86 @@ module Efl
21
20
  #
22
21
  ffi_lib 'eina'
23
22
  #
24
- # ENUMS
25
- #
26
23
  # TYPEDEFS
27
24
  # typedef struct _Eina_Hash Eina_Hash;
28
25
  typedef :pointer, :eina_hash
29
- typedef :pointer, :eina_hash_p
30
26
  # typedef struct _Eina_Hash_Tuple Eina_Hash_Tuple;
31
27
  typedef :pointer, :eina_hash_tuple
32
28
  #
33
29
  # CALLBACKS
34
30
  # typedef unsigned int (*Eina_Key_Length) (const void *key);
35
- callback :eina_key_length, [ :void_p ], :uint
31
+ callback :eina_key_length_cb, [ :pointer ], :uint
36
32
  # typedef int (*Eina_Key_Cmp) (const void *key1, int key1_length, const void *key2, int key2_length);
37
- callback :eina_key_cmp, [ :void_p, :int, :void_p, :int ], :int
33
+ callback :eina_key_cmp_cb, [ :pointer, :int, :pointer, :int ], :int
38
34
  # typedef int (*Eina_Key_Hash) (const void *key, int key_length);
39
- callback :eina_key_hash, [ :void_p, :int ], :int
35
+ callback :eina_key_hash_cb, [ :pointer, :int ], :int
40
36
  # typedef Eina_Bool (*Eina_Hash_Foreach) (const Eina_Hash *hash, const void *key, void *data, void *fdata);
41
- callback :eina_hash_foreach, [ :eina_hash_p, :void_p, :void_p, :void_p ], :eina_bool
42
- #
43
- # VARIABLES
37
+ callback :eina_hash_foreach_cb, [ :eina_hash, :pointer, :pointer, :pointer ], :bool
44
38
  #
45
39
  # FUNCTIONS
46
40
  fcts = [
47
41
  # 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);
48
- [ :eina_hash_new, [ :eina_key_length, :eina_key_cmp, :eina_key_hash, :eina_free_cb, :int ], :eina_hash_p ],
42
+ [ :eina_hash_new, [ :eina_key_length_cb, :eina_key_cmp_cb, :eina_key_hash_cb, :eina_free_cb, :int ], :eina_hash ],
49
43
  # EAPI void eina_hash_free_cb_set(Eina_Hash *hash, Eina_Free_Cb data_free_cb);
50
- [ :eina_hash_free_cb_set, [ :eina_hash_p, :eina_free_cb ], :void ],
44
+ [ :eina_hash_free_cb_set, [ :eina_hash, :eina_free_cb ], :void ],
51
45
  # EAPI Eina_Hash *eina_hash_string_djb2_new(Eina_Free_Cb data_free_cb);
52
- [ :eina_hash_string_djb2_new, [ :eina_free_cb ], :eina_hash_p ],
46
+ [ :eina_hash_string_djb2_new, [ :eina_free_cb ], :eina_hash ],
53
47
  # EAPI Eina_Hash *eina_hash_string_superfast_new(Eina_Free_Cb data_free_cb);
54
- [ :eina_hash_string_superfast_new, [ :eina_free_cb ], :eina_hash_p ],
48
+ [ :eina_hash_string_superfast_new, [ :eina_free_cb ], :eina_hash ],
55
49
  # EAPI Eina_Hash *eina_hash_string_small_new(Eina_Free_Cb data_free_cb);
56
- [ :eina_hash_string_small_new, [ :eina_free_cb ], :eina_hash_p ],
50
+ [ :eina_hash_string_small_new, [ :eina_free_cb ], :eina_hash ],
57
51
  # EAPI Eina_Hash *eina_hash_int32_new(Eina_Free_Cb data_free_cb);
58
- [ :eina_hash_int32_new, [ :eina_free_cb ], :eina_hash_p ],
52
+ [ :eina_hash_int32_new, [ :eina_free_cb ], :eina_hash ],
59
53
  # EAPI Eina_Hash *eina_hash_int64_new(Eina_Free_Cb data_free_cb);
60
- [ :eina_hash_int64_new, [ :eina_free_cb ], :eina_hash_p ],
54
+ [ :eina_hash_int64_new, [ :eina_free_cb ], :eina_hash ],
61
55
  # EAPI Eina_Hash *eina_hash_pointer_new(Eina_Free_Cb data_free_cb);
62
- [ :eina_hash_pointer_new, [ :eina_free_cb ], :eina_hash_p ],
56
+ [ :eina_hash_pointer_new, [ :eina_free_cb ], :eina_hash ],
63
57
  # EAPI Eina_Hash *eina_hash_stringshared_new(Eina_Free_Cb data_free_cb);
64
- [ :eina_hash_stringshared_new, [ :eina_free_cb ], :eina_hash_p ],
58
+ [ :eina_hash_stringshared_new, [ :eina_free_cb ], :eina_hash ],
65
59
  # EAPI Eina_Bool eina_hash_add(Eina_Hash *hash, const void *key, const void *data);
66
- [ :eina_hash_add, [ :eina_hash_p, :void_p, :void_p ], :eina_bool ],
60
+ [ :eina_hash_add, [ :eina_hash, :pointer, :pointer ], :bool ],
67
61
  # EAPI Eina_Bool eina_hash_direct_add(Eina_Hash *hash, const void *key, const void *data);
68
- [ :eina_hash_direct_add, [ :eina_hash_p, :void_p, :void_p ], :eina_bool ],
62
+ [ :eina_hash_direct_add, [ :eina_hash, :pointer, :pointer ], :bool ],
69
63
  # EAPI Eina_Bool eina_hash_del(Eina_Hash *hash, const void *key, const void *data);
70
- [ :eina_hash_del, [ :eina_hash_p, :void_p, :void_p ], :eina_bool ],
64
+ [ :eina_hash_del, [ :eina_hash, :pointer, :pointer ], :bool ],
71
65
  # EAPI void *eina_hash_find(const Eina_Hash *hash, const void *key);
72
- [ :eina_hash_find, [ :eina_hash_p, :void_p ], :void_p ],
66
+ [ :eina_hash_find, [ :eina_hash, :pointer ], :pointer ],
73
67
  # EAPI void *eina_hash_modify(Eina_Hash *hash, const void *key, const void *data);
74
- [ :eina_hash_modify, [ :eina_hash_p, :void_p, :void_p ], :void_p ],
68
+ [ :eina_hash_modify, [ :eina_hash, :pointer, :pointer ], :pointer ],
75
69
  # EAPI void *eina_hash_set(Eina_Hash *hash, const void *key, const void *data);
76
- [ :eina_hash_set, [ :eina_hash_p, :void_p, :void_p ], :void_p ],
70
+ [ :eina_hash_set, [ :eina_hash, :pointer, :pointer ], :pointer ],
77
71
  # EAPI Eina_Bool eina_hash_move(Eina_Hash *hash, const void *old_key, const void *new_key);
78
- [ :eina_hash_move, [ :eina_hash_p, :void_p, :void_p ], :eina_bool ],
72
+ [ :eina_hash_move, [ :eina_hash, :pointer, :pointer ], :bool ],
79
73
  # EAPI void eina_hash_free(Eina_Hash *hash);
80
- [ :eina_hash_free, [ :eina_hash_p ], :void ],
74
+ [ :eina_hash_free, [ :eina_hash ], :void ],
81
75
  # EAPI void eina_hash_free_buckets(Eina_Hash *hash);
82
- [ :eina_hash_free_buckets, [ :eina_hash_p ], :void ],
76
+ [ :eina_hash_free_buckets, [ :eina_hash ], :void ],
83
77
  # EAPI int eina_hash_population(const Eina_Hash *hash);
84
- [ :eina_hash_population, [ :eina_hash_p ], :int ],
78
+ [ :eina_hash_population, [ :eina_hash ], :int ],
85
79
  # EAPI Eina_Bool eina_hash_add_by_hash(Eina_Hash *hash, const void *key, int key_length, int key_hash, const void *data);
86
- [ :eina_hash_add_by_hash, [ :eina_hash_p, :void_p, :int, :int, :void_p ], :eina_bool ],
80
+ [ :eina_hash_add_by_hash, [ :eina_hash, :pointer, :int, :int, :pointer ], :bool ],
87
81
  # EAPI Eina_Bool eina_hash_direct_add_by_hash(Eina_Hash *hash, const void *key, int key_length, int key_hash, const void *data);
88
- [ :eina_hash_direct_add_by_hash, [ :eina_hash_p, :void_p, :int, :int, :void_p ], :eina_bool ],
82
+ [ :eina_hash_direct_add_by_hash, [ :eina_hash, :pointer, :int, :int, :pointer ], :bool ],
89
83
  # EAPI Eina_Bool eina_hash_del_by_key_hash(Eina_Hash *hash, const void *key, int key_length, int key_hash);
90
- [ :eina_hash_del_by_key_hash, [ :eina_hash_p, :void_p, :int, :int ], :eina_bool ],
84
+ [ :eina_hash_del_by_key_hash, [ :eina_hash, :pointer, :int, :int ], :bool ],
91
85
  # EAPI Eina_Bool eina_hash_del_by_key(Eina_Hash *hash, const void *key);
92
- [ :eina_hash_del_by_key, [ :eina_hash_p, :void_p ], :eina_bool ],
86
+ [ :eina_hash_del_by_key, [ :eina_hash, :pointer ], :bool ],
93
87
  # EAPI Eina_Bool eina_hash_del_by_data(Eina_Hash *hash, const void *data);
94
- [ :eina_hash_del_by_data, [ :eina_hash_p, :void_p ], :eina_bool ],
88
+ [ :eina_hash_del_by_data, [ :eina_hash, :pointer ], :bool ],
95
89
  # EAPI Eina_Bool eina_hash_del_by_hash(Eina_Hash *hash, const void *key, int key_length, int key_hash, const void *data);
96
- [ :eina_hash_del_by_hash, [ :eina_hash_p, :void_p, :int, :int, :void_p ], :eina_bool ],
90
+ [ :eina_hash_del_by_hash, [ :eina_hash, :pointer, :int, :int, :pointer ], :bool ],
97
91
  # EAPI void *eina_hash_find_by_hash(const Eina_Hash *hash, const void *key, int key_length, int key_hash);
98
- [ :eina_hash_find_by_hash, [ :eina_hash_p, :void_p, :int, :int ], :void_p ],
92
+ [ :eina_hash_find_by_hash, [ :eina_hash, :pointer, :int, :int ], :pointer ],
99
93
  # EAPI void *eina_hash_modify_by_hash(Eina_Hash *hash, const void *key, int key_length, int key_hash, const void *data);
100
- [ :eina_hash_modify_by_hash, [ :eina_hash_p, :void_p, :int, :int, :void_p ], :void_p ],
94
+ [ :eina_hash_modify_by_hash, [ :eina_hash, :pointer, :int, :int, :pointer ], :pointer ],
101
95
  # EAPI Eina_Iterator *eina_hash_iterator_key_new(const Eina_Hash *hash);
102
- [ :eina_hash_iterator_key_new, [ :eina_hash_p ], :eina_iterator_p ],
96
+ [ :eina_hash_iterator_key_new, [ :eina_hash ], :pointer ],
103
97
  # EAPI Eina_Iterator *eina_hash_iterator_data_new(const Eina_Hash *hash);
104
- [ :eina_hash_iterator_data_new, [ :eina_hash_p ], :eina_iterator_p ],
98
+ [ :eina_hash_iterator_data_new, [ :eina_hash ], :pointer ],
105
99
  # EAPI Eina_Iterator *eina_hash_iterator_tuple_new(const Eina_Hash *hash);
106
- [ :eina_hash_iterator_tuple_new, [ :eina_hash_p ], :eina_iterator_p ],
107
- # EAPI void eina_hash_foreach(const Eina_Hash *hash, Eina_Hash_Foreach cb, const void *fdata);
108
- [ :eina_hash_foreach, [ :eina_hash_p, :eina_hash_foreach, :void_p ], :void ],
100
+ [ :eina_hash_iterator_tuple_new, [ :eina_hash ], :pointer ],
101
+ # EAPI void eina_hash_foreach(const Eina_Hash *hash, Eina_Hash_Foreach func, const void *fdata);
102
+ [ :eina_hash_foreach, [ :eina_hash, :eina_hash_foreach_cb, :pointer ], :void ],
109
103
  # EAPI int eina_hash_superfast(const char *key, int len);
110
104
  [ :eina_hash_superfast, [ :string, :int ], :int ],
111
105
  ]
@@ -1,18 +1,17 @@
1
1
  #! /usr/bin/env ruby
2
2
  # -*- coding: UTF-8 -*-
3
3
  #
4
- require 'efl/ffi'
4
+ require 'efl/native'
5
5
  #
6
6
  module Efl
7
7
  #
8
8
  module EinaList
9
9
  #
10
- FCT_PREFIX = 'eina_list_'
10
+ FCT_PREFIX = 'eina_list_' unless const_defined? :FCT_PREFIX
11
11
  #
12
- def self.method_missing m, *args, &block
13
- sym, args_s = ModuleHelper.find_function m, FCT_PREFIX
14
- self.module_eval "def self.#{m} *args, █ r=Efl::Native.#{sym}(#{args_s}); yield r if block_given?; r; end"
15
- self.send m, *args, &block
12
+ def self.method_missing meth, *args, &block
13
+ sym = Efl::MethodResolver.resolve self, meth, FCT_PREFIX
14
+ self.send sym, *args, &block
16
15
  end
17
16
  #
18
17
  end
@@ -21,88 +20,80 @@ module Efl
21
20
  #
22
21
  ffi_lib 'eina'
23
22
  #
24
- # ENUMS
25
- #
26
23
  # TYPEDEFS
27
24
  # typedef struct _Eina_List Eina_List;
28
25
  typedef :pointer, :eina_list
29
- typedef :pointer, :eina_list_p
30
- typedef :pointer, :eina_list_pp
31
26
  # typedef struct _Eina_List_Accounting Eina_List_Accounting;
32
27
  typedef :pointer, :eina_list_accounting
33
28
  #
34
- # CALLBACKS
35
- #
36
- # VARIABLES
37
- #
38
29
  # FUNCTIONS
39
30
  fcts = [
40
31
  # EAPI Eina_List *eina_list_append(Eina_List *list, const void *data);
41
- [ :eina_list_append, [ :eina_list_p, :void_p ], :eina_list_p ],
32
+ [ :eina_list_append, [ :eina_list, :pointer ], :eina_list ],
42
33
  # EAPI Eina_List *eina_list_prepend(Eina_List *list, const void *data);
43
- [ :eina_list_prepend, [ :eina_list_p, :void_p ], :eina_list_p ],
34
+ [ :eina_list_prepend, [ :eina_list, :pointer ], :eina_list ],
44
35
  # EAPI Eina_List *eina_list_append_relative(Eina_List *list, const void *data, const void *relative);
45
- [ :eina_list_append_relative, [ :eina_list_p, :void_p, :void_p ], :eina_list_p ],
36
+ [ :eina_list_append_relative, [ :eina_list, :pointer, :pointer ], :eina_list ],
46
37
  # EAPI Eina_List *eina_list_append_relative_list(Eina_List *list, const void *data, Eina_List *relative);
47
- [ :eina_list_append_relative_list, [ :eina_list_p, :void_p, :eina_list_p ], :eina_list_p ],
38
+ [ :eina_list_append_relative_list, [ :eina_list, :pointer, :eina_list ], :eina_list ],
48
39
  # EAPI Eina_List *eina_list_prepend_relative(Eina_List *list, const void *data, const void *relative);
49
- [ :eina_list_prepend_relative, [ :eina_list_p, :void_p, :void_p ], :eina_list_p ],
40
+ [ :eina_list_prepend_relative, [ :eina_list, :pointer, :pointer ], :eina_list ],
50
41
  # EAPI Eina_List *eina_list_prepend_relative_list(Eina_List *list, const void *data, Eina_List *relative);
51
- [ :eina_list_prepend_relative_list, [ :eina_list_p, :void_p, :eina_list_p ], :eina_list_p ],
42
+ [ :eina_list_prepend_relative_list, [ :eina_list, :pointer, :eina_list ], :eina_list ],
52
43
  # EAPI Eina_List *eina_list_sorted_insert(Eina_List *list, Eina_Compare_Cb func, const void *data);
53
- [ :eina_list_sorted_insert, [ :eina_list_p, :eina_compare_cb, :void_p ], :eina_list_p ],
44
+ [ :eina_list_sorted_insert, [ :eina_list, :eina_compare_cb, :pointer ], :eina_list ],
54
45
  # EAPI Eina_List *eina_list_remove(Eina_List *list, const void *data);
55
- [ :eina_list_remove, [ :eina_list_p, :void_p ], :eina_list_p ],
46
+ [ :eina_list_remove, [ :eina_list, :pointer ], :eina_list ],
56
47
  # EAPI Eina_List *eina_list_remove_list(Eina_List *list, Eina_List *remove_list);
57
- [ :eina_list_remove_list, [ :eina_list_p, :eina_list_p ], :eina_list_p ],
48
+ [ :eina_list_remove_list, [ :eina_list, :eina_list ], :eina_list ],
58
49
  # EAPI Eina_List *eina_list_promote_list(Eina_List *list, Eina_List *move_list);
59
- [ :eina_list_promote_list, [ :eina_list_p, :eina_list_p ], :eina_list_p ],
50
+ [ :eina_list_promote_list, [ :eina_list, :eina_list ], :eina_list ],
60
51
  # EAPI Eina_List *eina_list_demote_list(Eina_List *list, Eina_List *move_list);
61
- [ :eina_list_demote_list, [ :eina_list_p, :eina_list_p ], :eina_list_p ],
52
+ [ :eina_list_demote_list, [ :eina_list, :eina_list ], :eina_list ],
62
53
  # EAPI void *eina_list_data_find(const Eina_List *list, const void *data);
63
- [ :eina_list_data_find, [ :eina_list_p, :void_p ], :void_p ],
54
+ [ :eina_list_data_find, [ :eina_list, :pointer ], :pointer ],
64
55
  # EAPI Eina_List *eina_list_data_find_list(const Eina_List *list, const void *data);
65
- [ :eina_list_data_find_list, [ :eina_list_p, :void_p ], :eina_list_p ],
56
+ [ :eina_list_data_find_list, [ :eina_list, :pointer ], :eina_list ],
66
57
  # EAPI Eina_Bool eina_list_move(Eina_List **to, Eina_List **from, void *data);
67
- [ :eina_list_move, [ :eina_list_pp, :eina_list_pp, :void_p ], :eina_bool ],
58
+ [ :eina_list_move, [ :eina_list, :eina_list, :pointer ], :bool ],
68
59
  # EAPI Eina_Bool eina_list_move_list(Eina_List **to, Eina_List **from, Eina_List *data);
69
- [ :eina_list_move_list, [ :eina_list_pp, :eina_list_pp, :eina_list_p ], :eina_bool ],
60
+ [ :eina_list_move_list, [ :eina_list, :eina_list, :eina_list ], :bool ],
70
61
  # EAPI Eina_List *eina_list_free(Eina_List *list);
71
- [ :eina_list_free, [ :eina_list_p ], :eina_list_p ],
62
+ [ :eina_list_free, [ :eina_list ], :eina_list ],
72
63
  # EAPI void *eina_list_nth(const Eina_List *list, unsigned int n);
73
- [ :eina_list_nth, [ :eina_list_p, :uint ], :void_p ],
64
+ [ :eina_list_nth, [ :eina_list, :uint ], :pointer ],
74
65
  # EAPI Eina_List *eina_list_nth_list(const Eina_List *list, unsigned int n);
75
- [ :eina_list_nth_list, [ :eina_list_p, :uint ], :eina_list_p ],
66
+ [ :eina_list_nth_list, [ :eina_list, :uint ], :eina_list ],
76
67
  # EAPI Eina_List *eina_list_reverse(Eina_List *list);
77
- [ :eina_list_reverse, [ :eina_list_p ], :eina_list_p ],
68
+ [ :eina_list_reverse, [ :eina_list ], :eina_list ],
78
69
  # EAPI Eina_List *eina_list_reverse_clone(const Eina_List *list);
79
- [ :eina_list_reverse_clone, [ :eina_list_p ], :eina_list_p ],
70
+ [ :eina_list_reverse_clone, [ :eina_list ], :eina_list ],
80
71
  # EAPI Eina_List *eina_list_clone(const Eina_List *list);
81
- [ :eina_list_clone, [ :eina_list_p ], :eina_list_p ],
82
- # EAPI Eina_List *eina_list_sort(Eina_List *list, unsigned int size, Eina_Compare_Cb func);
83
- [ :eina_list_sort, [ :eina_list_p, :uint, :eina_compare_cb ], :eina_list_p ],
72
+ [ :eina_list_clone, [ :eina_list ], :eina_list ],
73
+ # EAPI Eina_List *eina_list_sort(Eina_List *list, unsigned int limit, Eina_Compare_Cb func);
74
+ [ :eina_list_sort, [ :eina_list, :uint, :eina_compare_cb ], :eina_list ],
84
75
  # EAPI Eina_List *eina_list_merge(Eina_List *left, Eina_List *right);
85
- [ :eina_list_merge, [ :eina_list_p, :eina_list_p ], :eina_list_p ],
76
+ [ :eina_list_merge, [ :eina_list, :eina_list ], :eina_list ],
86
77
  # EAPI Eina_List *eina_list_sorted_merge(Eina_List *left, Eina_List *right, Eina_Compare_Cb func);
87
- [ :eina_list_sorted_merge, [ :eina_list_p, :eina_list_p, :eina_compare_cb ], :eina_list_p ],
78
+ [ :eina_list_sorted_merge, [ :eina_list, :eina_list, :eina_compare_cb ], :eina_list ],
88
79
  # EAPI Eina_List *eina_list_split_list(Eina_List *list, Eina_List *relative, Eina_List **right);
89
- [ :eina_list_split_list, [ :eina_list_p, :eina_list_p, :eina_list_pp ], :eina_list_p ],
80
+ [ :eina_list_split_list, [ :eina_list, :eina_list, :eina_list ], :eina_list ],
90
81
  # EAPI Eina_List *eina_list_search_sorted_near_list(const Eina_List *list, Eina_Compare_Cb func, const void *data, int *result_cmp);
91
- [ :eina_list_search_sorted_near_list, [ :eina_list_p, :eina_compare_cb, :void_p, :int_p ], :eina_list_p ],
82
+ [ :eina_list_search_sorted_near_list, [ :eina_list, :eina_compare_cb, :pointer, :pointer ], :eina_list ],
92
83
  # EAPI Eina_List *eina_list_search_sorted_list(const Eina_List *list, Eina_Compare_Cb func, const void *data);
93
- [ :eina_list_search_sorted_list, [ :eina_list_p, :eina_compare_cb, :void_p ], :eina_list_p ],
84
+ [ :eina_list_search_sorted_list, [ :eina_list, :eina_compare_cb, :pointer ], :eina_list ],
94
85
  # EAPI void *eina_list_search_sorted(const Eina_List *list, Eina_Compare_Cb func, const void *data);
95
- [ :eina_list_search_sorted, [ :eina_list_p, :eina_compare_cb, :void_p ], :void_p ],
86
+ [ :eina_list_search_sorted, [ :eina_list, :eina_compare_cb, :pointer ], :pointer ],
96
87
  # EAPI Eina_List *eina_list_search_unsorted_list(const Eina_List *list, Eina_Compare_Cb func, const void *data);
97
- [ :eina_list_search_unsorted_list, [ :eina_list_p, :eina_compare_cb, :void_p ], :eina_list_p ],
88
+ [ :eina_list_search_unsorted_list, [ :eina_list, :eina_compare_cb, :pointer ], :eina_list ],
98
89
  # EAPI void *eina_list_search_unsorted(const Eina_List *list, Eina_Compare_Cb func, const void *data);
99
- [ :eina_list_search_unsorted, [ :eina_list_p, :eina_compare_cb, :void_p ], :void_p ],
90
+ [ :eina_list_search_unsorted, [ :eina_list, :eina_compare_cb, :pointer ], :pointer ],
100
91
  # EAPI Eina_Iterator *eina_list_iterator_new(const Eina_List *list);
101
- [ :eina_list_iterator_new, [ :eina_list_p ], :eina_iterator_p ],
92
+ [ :eina_list_iterator_new, [ :eina_list ], :pointer ],
102
93
  # EAPI Eina_Iterator *eina_list_iterator_reversed_new(const Eina_List *list);
103
- [ :eina_list_iterator_reversed_new, [ :eina_list_p ], :eina_iterator_p ],
94
+ [ :eina_list_iterator_reversed_new, [ :eina_list ], :pointer ],
104
95
  # EAPI Eina_Accessor *eina_list_accessor_new(const Eina_List *list);
105
- [ :eina_list_accessor_new, [ :eina_list_p ], :eina_accessor_p ],
96
+ [ :eina_list_accessor_new, [ :eina_list ], :pointer ],
106
97
  ]
107
98
  #
108
99
  attach_fcts fcts
@@ -1,18 +1,17 @@
1
1
  #! /usr/bin/env ruby
2
2
  # -*- coding: UTF-8 -*-
3
3
  #
4
- require 'efl/ffi'
4
+ require 'efl/native'
5
5
  #
6
6
  module Efl
7
7
  #
8
8
  module EinaLog
9
9
  #
10
- FCT_PREFIX = 'eina_log_'
10
+ FCT_PREFIX = 'eina_log_' unless const_defined? :FCT_PREFIX
11
11
  #
12
- def self.method_missing m, *args, &block
13
- sym, args_s = ModuleHelper.find_function m, FCT_PREFIX
14
- self.module_eval "def self.#{m} *args, █ r=Efl::Native.#{sym}(#{args_s}); yield r if block_given?; r; end"
15
- self.send m, *args, &block
12
+ def self.method_missing meth, *args, &block
13
+ sym = Efl::MethodResolver.resolve self, meth, FCT_PREFIX
14
+ self.send sym, *args, &block
16
15
  end
17
16
  #
18
17
  end
@@ -23,17 +22,16 @@ module Efl
23
22
  #
24
23
  # ENUMS
25
24
  # typedef enum _Eina_Log_Level {...} Eina_Log_Level;
26
- 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,
27
- :eina_log_level_unknown ]
25
+ enum :eina_log_level, [ :eina_log_level_critical, 0, :eina_log_level_err, 1, :eina_log_level_warn, 2, :eina_log_level_info, 3,
26
+ :eina_log_level_dbg, 4, :eina_log_levels, 5, :eina_log_level_unknown, (-2147483647-1) ]
28
27
  #
29
28
  # TYPEDEFS
30
29
  # typedef struct _Eina_Log_Domain Eina_Log_Domain;
31
30
  typedef :pointer, :eina_log_domain
32
- typedef :pointer, :eina_log_domain_p
33
31
  #
34
32
  # CALLBACKS
35
33
  # 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);
36
- callback :eina_log_print_cb, [ :eina_log_domain_p, :eina_log_level, :string, :string, :int, :string, :void_p, :pointer ], :void
34
+ callback :eina_log_print_cb, [ :eina_log_domain, :eina_log_level, :string, :string, :int, :string, :pointer, :pointer ], :void
37
35
  #
38
36
  # VARIABLES
39
37
  # EAPI extern int EINA_LOG_DOMAIN_GLOBAL;
@@ -44,29 +42,29 @@ module Efl
44
42
  # EAPI void eina_log_threads_enable(void);
45
43
  [ :eina_log_threads_enable, [ ], :void ],
46
44
  # EAPI void eina_log_print_cb_set(Eina_Log_Print_Cb cb, void *data);
47
- [ :eina_log_print_cb_set, [ :eina_log_print_cb, :void_p ], :void ],
45
+ [ :eina_log_print_cb_set, [ :eina_log_print_cb, :pointer ], :void ],
48
46
  # EAPI void eina_log_level_set(int level);
49
47
  [ :eina_log_level_set, [ :int ], :void ],
50
48
  # EAPI int eina_log_level_get(void);
51
49
  [ :eina_log_level_get, [ ], :int ],
52
50
  # EAPI Eina_Bool eina_log_main_thread_check(void);
53
- [ :eina_log_main_thread_check, [ ], :eina_bool ],
51
+ [ :eina_log_main_thread_check, [ ], :bool ],
54
52
  # EAPI void eina_log_color_disable_set(Eina_Bool disabled);
55
- [ :eina_log_color_disable_set, [ :eina_bool ], :void ],
53
+ [ :eina_log_color_disable_set, [ :bool ], :void ],
56
54
  # EAPI Eina_Bool eina_log_color_disable_get(void);
57
- [ :eina_log_color_disable_get, [ ], :eina_bool ],
55
+ [ :eina_log_color_disable_get, [ ], :bool ],
58
56
  # EAPI void eina_log_file_disable_set(Eina_Bool disabled);
59
- [ :eina_log_file_disable_set, [ :eina_bool ], :void ],
57
+ [ :eina_log_file_disable_set, [ :bool ], :void ],
60
58
  # EAPI Eina_Bool eina_log_file_disable_get(void);
61
- [ :eina_log_file_disable_get, [ ], :eina_bool ],
59
+ [ :eina_log_file_disable_get, [ ], :bool ],
62
60
  # EAPI void eina_log_function_disable_set(Eina_Bool disabled);
63
- [ :eina_log_function_disable_set, [ :eina_bool ], :void ],
61
+ [ :eina_log_function_disable_set, [ :bool ], :void ],
64
62
  # EAPI Eina_Bool eina_log_function_disable_get(void);
65
- [ :eina_log_function_disable_get, [ ], :eina_bool ],
63
+ [ :eina_log_function_disable_get, [ ], :bool ],
66
64
  # EAPI void eina_log_abort_on_critical_set(Eina_Bool abort_on_critical);
67
- [ :eina_log_abort_on_critical_set, [ :eina_bool ], :void ],
65
+ [ :eina_log_abort_on_critical_set, [ :bool ], :void ],
68
66
  # EAPI Eina_Bool eina_log_abort_on_critical_get(void);
69
- [ :eina_log_abort_on_critical_get, [ ], :eina_bool ],
67
+ [ :eina_log_abort_on_critical_get, [ ], :bool ],
70
68
  # EAPI void eina_log_abort_on_critical_level_set(int critical_level);
71
69
  [ :eina_log_abort_on_critical_level_set, [ :int ], :void ],
72
70
  # EAPI int eina_log_abort_on_critical_level_get(void);
@@ -86,11 +84,11 @@ module Efl
86
84
  # 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);
87
85
  [ :eina_log_vprint, [ :int, :eina_log_level, :string, :string, :int, :string, :pointer ], :void ],
88
86
  # 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);
89
- [ :eina_log_print_cb_stdout, [ :eina_log_domain_p, :eina_log_level, :string, :string, :int, :string, :void_p, :pointer ], :void ],
87
+ [ :eina_log_print_cb_stdout, [ :eina_log_domain, :eina_log_level, :string, :string, :int, :string, :pointer, :pointer ], :void ],
90
88
  # 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);
91
- [ :eina_log_print_cb_stderr, [ :eina_log_domain_p, :eina_log_level, :string, :string, :int, :string, :void_p, :pointer ], :void ],
89
+ [ :eina_log_print_cb_stderr, [ :eina_log_domain, :eina_log_level, :string, :string, :int, :string, :pointer, :pointer ], :void ],
92
90
  # 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);
93
- [ :eina_log_print_cb_file, [ :eina_log_domain_p, :eina_log_level, :string, :string, :int, :string, :void_p, :pointer ], :void ],
91
+ [ :eina_log_print_cb_file, [ :eina_log_domain, :eina_log_level, :string, :string, :int, :string, :pointer, :pointer ], :void ],
94
92
  ]
95
93
  #
96
94
  attach_fcts fcts