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,19 +1,19 @@
1
1
  #! /usr/bin/env ruby
2
2
  # -*- coding: UTF-8 -*-
3
3
  #
4
- require 'efl/ffi'
4
+ require 'efl/native'
5
5
  require 'efl/native/eina_xattr'
6
+ require 'efl/native/eina_list'
6
7
  #
7
8
  module Efl
8
9
  #
9
10
  module Eet
10
11
  #
11
- FCT_PREFIX = 'eet_'
12
+ FCT_PREFIX = 'eet_' unless const_defined? :FCT_PREFIX
12
13
  #
13
- def self.method_missing m, *args, &block
14
- sym, args_s = ModuleHelper.find_function m, FCT_PREFIX
15
- self.module_eval "def self.#{m} *args, █ r=Efl::Native.#{sym}(#{args_s}); yield r if block_given?; r; end"
16
- self.send m, *args, &block
14
+ def self.method_missing meth, *args, &block
15
+ sym = Efl::MethodResolver.resolve self, meth, FCT_PREFIX
16
+ self.send sym, *args, &block
17
17
  end
18
18
  #
19
19
  end
@@ -24,110 +24,101 @@ 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, :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 ]
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 ]
31
32
  # typedef enum _Eet_File_Mode {...} Eet_File_Mode;
32
- enum :eet_file_mode, [ :eet_file_mode_invalid, -1, :eet_file_mode_read, :eet_file_mode_write, :eet_file_mode_read_write ]
33
+ enum :eet_file_mode, [ :eet_file_mode_invalid, -1, :eet_file_mode_read, 0, :eet_file_mode_write, 1, :eet_file_mode_read_write, 2 ]
33
34
  #
34
35
  # TYPEDEFS
35
36
  # typedef struct _Eet_Version Eet_Version;
36
37
  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
- typedef :pointer, :eet_file_p
41
40
  # typedef struct _Eet_Dictionary Eet_Dictionary;
42
41
  typedef :pointer, :eet_dictionary
43
- typedef :pointer, :eet_dictionary_p
44
42
  # typedef struct _Eet_Key Eet_Key;
45
43
  typedef :pointer, :eet_key
46
- typedef :pointer, :eet_key_p
47
44
  # typedef struct _Eet_Data_Descriptor Eet_Data_Descriptor;
48
45
  typedef :pointer, :eet_data_descriptor
49
- typedef :pointer, :eet_data_descriptor_p
50
46
  # typedef struct _Eet_Data_Descriptor_Class Eet_Data_Descriptor_Class;
51
47
  typedef :pointer, :eet_data_descriptor_class
52
- typedef :pointer, :eet_data_descriptor_class_p
53
48
  # typedef struct _Eet_Node Eet_Node;
54
49
  typedef :pointer, :eet_node
55
- typedef :pointer, :eet_node_p
56
50
  # typedef struct _Eet_Node_Data Eet_Node_Data;
57
51
  typedef :pointer, :eet_node_data
58
- typedef :pointer, :eet_node_data_p
59
52
  # typedef struct _Eet_Node_Walk Eet_Node_Walk;
60
53
  typedef :pointer, :eet_node_walk
61
- typedef :pointer, :eet_node_walk_p
62
54
  # typedef struct _Eet_Connection Eet_Connection;
63
55
  typedef :pointer, :eet_connection
64
- typedef :pointer, :eet_connection_p
65
56
  #
66
57
  # CALLBACKS
67
58
  # typedef int (*Eet_Key_Password_Callback) (char *buffer, int size, int rwflag, void *data);
68
- callback :eet_key_password_callback, [ :string, :int, :int, :void_p ], :int
59
+ callback :eet_key_password_callback_cb, [ :string, :int, :int, :pointer ], :int
69
60
  # typedef int (*Eet_Descriptor_Hash_Foreach_Callback_Callback) (void *h, const char *k, void *dt, void *fdt);
70
- callback :eet_descriptor_hash_foreach_callback_callback, [ :void_p, :string, :void_p, :void_p ], :int
61
+ callback :eet_descriptor_hash_foreach_callback_callback_cb, [ :pointer, :string, :pointer, :pointer ], :int
71
62
  # typedef void * (*Eet_Descriptor_Mem_Alloc_Callback) (size_t size);
72
- callback :eet_descriptor_mem_alloc_callback, [ :ulong ], :void_p
63
+ callback :eet_descriptor_mem_alloc_callback_cb, [ :ulong ], :pointer
73
64
  # typedef void (*Eet_Descriptor_Mem_Free_Callback) (void *mem);
74
- callback :eet_descriptor_mem_free_callback, [ :void_p ], :void
65
+ callback :eet_descriptor_mem_free_callback_cb, [ :pointer ], :void
75
66
  # typedef char * (*Eet_Descriptor_Str_Alloc_Callback) (const char *str);
76
- callback :eet_descriptor_str_alloc_callback, [ :string ], :string
67
+ callback :eet_descriptor_str_alloc_callback_cb, [ :string ], :string
77
68
  # typedef void (*Eet_Descriptor_Str_Free_Callback) (const char *str);
78
- callback :eet_descriptor_str_free_callback, [ :string ], :void
69
+ callback :eet_descriptor_str_free_callback_cb, [ :string ], :void
79
70
  # typedef void * (*Eet_Descriptor_List_Next_Callback) (void *l);
80
- callback :eet_descriptor_list_next_callback, [ :void_p ], :void_p
71
+ callback :eet_descriptor_list_next_callback_cb, [ :pointer ], :pointer
81
72
  # typedef void * (*Eet_Descriptor_List_Append_Callback) (void *l, void *d);
82
- callback :eet_descriptor_list_append_callback, [ :void_p, :void_p ], :void_p
73
+ callback :eet_descriptor_list_append_callback_cb, [ :pointer, :pointer ], :pointer
83
74
  # typedef void * (*Eet_Descriptor_List_Data_Callback) (void *l);
84
- callback :eet_descriptor_list_data_callback, [ :void_p ], :void_p
75
+ callback :eet_descriptor_list_data_callback_cb, [ :pointer ], :pointer
85
76
  # typedef void * (*Eet_Descriptor_List_Free_Callback) (void *l);
86
- callback :eet_descriptor_list_free_callback, [ :void_p ], :void_p
77
+ callback :eet_descriptor_list_free_callback_cb, [ :pointer ], :pointer
87
78
  # typedef void (*Eet_Descriptor_Hash_Foreach_Callback) (void *h, Eet_Descriptor_Hash_Foreach_Callback_Callback func, void *fdt);
88
- callback :eet_descriptor_hash_foreach_callback, [ :void_p, :eet_descriptor_hash_foreach_callback_callback, :void_p ], :void
79
+ callback :eet_descriptor_hash_foreach_callback_cb, [ :pointer, :eet_descriptor_hash_foreach_callback_callback_cb, :pointer ], :void
89
80
  # typedef void * (*Eet_Descriptor_Hash_Add_Callback) (void *h, const char *k, void *d);
90
- callback :eet_descriptor_hash_add_callback, [ :void_p, :string, :void_p ], :void_p
81
+ callback :eet_descriptor_hash_add_callback_cb, [ :pointer, :string, :pointer ], :pointer
91
82
  # typedef void (*Eet_Descriptor_Hash_Free_Callback) (void *h);
92
- callback :eet_descriptor_hash_free_callback, [ :void_p ], :void
83
+ callback :eet_descriptor_hash_free_callback_cb, [ :pointer ], :void
93
84
  # typedef char * (*Eet_Descriptor_Str_Direct_Alloc_Callback) (const char *str);
94
- callback :eet_descriptor_str_direct_alloc_callback, [ :string ], :string
85
+ callback :eet_descriptor_str_direct_alloc_callback_cb, [ :string ], :string
95
86
  # typedef void (*Eet_Descriptor_Str_Direct_Free_Callback) (const char *str);
96
- callback :eet_descriptor_str_direct_free_callback, [ :string ], :void
87
+ callback :eet_descriptor_str_direct_free_callback_cb, [ :string ], :void
97
88
  # typedef const char * (*Eet_Descriptor_Type_Get_Callback) (const void *data, Eina_Bool *unknow);
98
- callback :eet_descriptor_type_get_callback, [ :void_p, :eina_bool_p ], :string
89
+ callback :eet_descriptor_type_get_callback_cb, [ :pointer, :pointer ], :string
99
90
  # typedef Eina_Bool (*Eet_Descriptor_Type_Set_Callback) (const char *type, void *data, Eina_Bool unknow);
100
- callback :eet_descriptor_type_set_callback, [ :string, :void_p, :eina_bool ], :eina_bool
91
+ callback :eet_descriptor_type_set_callback_cb, [ :string, :pointer, :bool ], :bool
101
92
  # typedef void * (*Eet_Descriptor_Array_Alloc_Callback) (size_t size);
102
- callback :eet_descriptor_array_alloc_callback, [ :ulong ], :void_p
93
+ callback :eet_descriptor_array_alloc_callback_cb, [ :ulong ], :pointer
103
94
  # typedef void (*Eet_Descriptor_Array_Free_Callback) (void *mem);
104
- callback :eet_descriptor_array_free_callback, [ :void_p ], :void
95
+ callback :eet_descriptor_array_free_callback_cb, [ :pointer ], :void
105
96
  # typedef void (*Eet_Dump_Callback) (void *data, const char *str);
106
- callback :eet_dump_callback, [ :void_p, :string ], :void
97
+ callback :eet_dump_callback_cb, [ :pointer, :string ], :void
107
98
  # typedef void * (*Eet_Node_Walk_Struct_Alloc_Callback) (const char *type, void *user_data);
108
- callback :eet_node_walk_struct_alloc_callback, [ :string, :void_p ], :void_p
99
+ callback :eet_node_walk_struct_alloc_callback_cb, [ :string, :pointer ], :pointer
109
100
  # typedef void (*Eet_Node_Walk_Struct_Add_Callback) (void *parent, const char *name, void *child, void *user_data);
110
- callback :eet_node_walk_struct_add_callback, [ :void_p, :string, :void_p, :void_p ], :void
101
+ callback :eet_node_walk_struct_add_callback_cb, [ :pointer, :string, :pointer, :pointer ], :void
111
102
  # typedef void * (*Eet_Node_Walk_Array_Callback) (Eina_Bool variable, const char *name, int count, void *user_data);
112
- callback :eet_node_walk_array_callback, [ :eina_bool, :string, :int, :void_p ], :void_p
103
+ callback :eet_node_walk_array_callback_cb, [ :bool, :string, :int, :pointer ], :pointer
113
104
  # typedef void (*Eet_Node_Walk_Insert_Callback) (void *array, int index, void *child, void *user_data);
114
- callback :eet_node_walk_insert_callback, [ :void_p, :int, :void_p, :void_p ], :void
105
+ callback :eet_node_walk_insert_callback_cb, [ :pointer, :int, :pointer, :pointer ], :void
115
106
  # typedef void * (*Eet_Node_Walk_List_Callback) (const char *name, void *user_data);
116
- callback :eet_node_walk_list_callback, [ :string, :void_p ], :void_p
107
+ callback :eet_node_walk_list_callback_cb, [ :string, :pointer ], :pointer
117
108
  # typedef void (*Eet_Node_Walk_Append_Callback) (void *list, void *child, void *user_data);
118
- callback :eet_node_walk_append_callback, [ :void_p, :void_p, :void_p ], :void
109
+ callback :eet_node_walk_append_callback_cb, [ :pointer, :pointer, :pointer ], :void
119
110
  # typedef void * (*Eet_Node_Walk_Hash_Callback) (void *parent, const char *name, const char *key, void *value, void *user_data);
120
- callback :eet_node_walk_hash_callback, [ :void_p, :string, :string, :void_p, :void_p ], :void_p
111
+ callback :eet_node_walk_hash_callback_cb, [ :pointer, :string, :string, :pointer, :pointer ], :pointer
121
112
  # typedef void * (*Eet_Node_Walk_Simple_Callback) (int type, Eet_Node_Data *data, void *user_data);
122
- callback :eet_node_walk_simple_callback, [ :int, :eet_node_data_p, :void_p ], :void_p
113
+ callback :eet_node_walk_simple_callback_cb, [ :int, :eet_node_data, :pointer ], :pointer
123
114
  # typedef Eina_Bool Eet_Read_Cb (const void *eet_data, size_t size, void *user_data);
124
- callback :eet_read_cb, [ :void_p, :ulong, :void_p ], :eina_bool
115
+ callback :eet_read_cb, [ :pointer, :ulong, :pointer ], :bool
125
116
  # typedef Eina_Bool Eet_Write_Cb (const void *data, size_t size, void *user_data);
126
- callback :eet_write_cb, [ :void_p, :ulong, :void_p ], :eina_bool
117
+ callback :eet_write_cb, [ :pointer, :ulong, :pointer ], :bool
127
118
  #
128
119
  # VARIABLES
129
120
  # EAPI extern Eet_Version *eet_version;
130
- attach_variable :eet_version, :eet_version_p
121
+ attach_variable :eet_version, :eet_version
131
122
  #
132
123
  # FUNCTIONS
133
124
  fcts = [
@@ -138,213 +129,221 @@ module Efl
138
129
  # EAPI void eet_clearcache(void);
139
130
  [ :eet_clearcache, [ ], :void ],
140
131
  # EAPI Eet_File * eet_open(const char *file, Eet_File_Mode mode);
141
- [ :eet_open, [ :string, :eet_file_mode ], :eet_file_p ],
132
+ [ :eet_open, [ :string, :eet_file_mode ], :eet_file ],
142
133
  # EAPI Eet_File * eet_memopen_read(const void *data, size_t size);
143
- [ :eet_memopen_read, [ :void_p, :ulong ], :eet_file_p ],
134
+ [ :eet_memopen_read, [ :pointer, :ulong ], :eet_file ],
144
135
  # EAPI Eet_File_Mode eet_mode_get(Eet_File *ef);
145
- [ :eet_mode_get, [ :eet_file_p ], :eet_file_mode ],
136
+ [ :eet_mode_get, [ :eet_file ], :eet_file_mode ],
146
137
  # EAPI Eet_Error eet_close(Eet_File *ef);
147
- [ :eet_close, [ :eet_file_p ], :eet_error ],
138
+ [ :eet_close, [ :eet_file ], :eet_error ],
148
139
  # EAPI Eet_Error eet_sync(Eet_File *ef);
149
- [ :eet_sync, [ :eet_file_p ], :eet_error ],
140
+ [ :eet_sync, [ :eet_file ], :eet_error ],
150
141
  # EAPI Eet_Dictionary * eet_dictionary_get(Eet_File *ef);
151
- [ :eet_dictionary_get, [ :eet_file_p ], :eet_dictionary_p ],
142
+ [ :eet_dictionary_get, [ :eet_file ], :eet_dictionary ],
152
143
  # EAPI int eet_dictionary_string_check(Eet_Dictionary *ed, const char *string);
153
- [ :eet_dictionary_string_check, [ :eet_dictionary_p, :string ], :int ],
144
+ [ :eet_dictionary_string_check, [ :eet_dictionary, :string ], :int ],
145
+ # EAPI int eet_dictionary_count(const Eet_Dictionary *ed);
146
+ [ :eet_dictionary_count, [ :eet_dictionary ], :int ],
154
147
  # EAPI void * eet_read(Eet_File *ef, const char *name, int *size_ret);
155
- [ :eet_read, [ :eet_file_p, :string, :int_p ], :void_p ],
148
+ [ :eet_read, [ :eet_file, :string, :pointer ], :pointer ],
156
149
  # EAPI const void * eet_read_direct(Eet_File *ef, const char *name, int *size_ret);
157
- [ :eet_read_direct, [ :eet_file_p, :string, :int_p ], :void_p ],
150
+ [ :eet_read_direct, [ :eet_file, :string, :pointer ], :pointer ],
158
151
  # EAPI int eet_write(Eet_File *ef, const char *name, const void *data, int size, int compress);
159
- [ :eet_write, [ :eet_file_p, :string, :void_p, :int, :int ], :int ],
152
+ [ :eet_write, [ :eet_file, :string, :pointer, :int, :int ], :int ],
160
153
  # EAPI int eet_delete(Eet_File *ef, const char *name);
161
- [ :eet_delete, [ :eet_file_p, :string ], :int ],
154
+ [ :eet_delete, [ :eet_file, :string ], :int ],
162
155
  # EAPI Eina_Bool eet_alias(Eet_File *ef, const char *name, const char *destination, int compress);
163
- [ :eet_alias, [ :eet_file_p, :string, :string, :int ], :eina_bool ],
156
+ [ :eet_alias, [ :eet_file, :string, :string, :int ], :bool ],
157
+ # EAPI const char * eet_file_get(Eet_File *ef);
158
+ [ :eet_file_get, [ :eet_file ], :string ],
164
159
  # EAPI const char * eet_alias_get(Eet_File *ef, const char *name);
165
- [ :eet_alias_get, [ :eet_file_p, :string ], :string ],
160
+ [ :eet_alias_get, [ :eet_file, :string ], :string ],
166
161
  # EAPI char ** eet_list(Eet_File *ef, const char *glob, int *count_ret);
167
- [ :eet_list, [ :eet_file_p, :string, :int_p ], :string_array ],
162
+ [ :eet_list, [ :eet_file, :string, :pointer ], :pointer ],
168
163
  # EAPI int eet_num_entries(Eet_File *ef);
169
- [ :eet_num_entries, [ :eet_file_p ], :int ],
164
+ [ :eet_num_entries, [ :eet_file ], :int ],
170
165
  # EAPI void * eet_read_cipher(Eet_File *ef, const char *name, int *size_ret, const char *cipher_key);
171
- [ :eet_read_cipher, [ :eet_file_p, :string, :int_p, :string ], :void_p ],
166
+ [ :eet_read_cipher, [ :eet_file, :string, :pointer, :string ], :pointer ],
172
167
  # EAPI int eet_write_cipher(Eet_File *ef, const char *name, const void *data, int size, int compress, const char *cipher_key);
173
- [ :eet_write_cipher, [ :eet_file_p, :string, :void_p, :int, :int, :string ], :int ],
168
+ [ :eet_write_cipher, [ :eet_file, :string, :pointer, :int, :int, :string ], :int ],
174
169
  # EAPI int eet_data_image_header_read(Eet_File *ef, const char *name, unsigned int *w, unsigned int *h, int *alpha, int *compress, int *quality, int *lossy);
175
- [ :eet_data_image_header_read, [ :eet_file_p, :string, :uint_p, :uint_p, :int_p, :int_p, :int_p, :int_p ], :int ],
170
+ [ :eet_data_image_header_read, [ :eet_file, :string, :pointer, :pointer, :pointer, :pointer, :pointer, :pointer ], :int ],
176
171
  # 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);
177
- [ :eet_data_image_read, [ :eet_file_p, :string, :uint_p, :uint_p, :int_p, :int_p, :int_p, :int_p ], :void_p ],
172
+ [ :eet_data_image_read, [ :eet_file, :string, :pointer, :pointer, :pointer, :pointer, :pointer, :pointer ], :pointer ],
178
173
  # 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);
179
- [ :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 ],
174
+ [ :eet_data_image_read_to_surface, [ :eet_file, :string, :uint, :uint, :pointer, :uint, :uint, :uint, :pointer, :pointer, :pointer, :pointer
175
+ ], :int ],
180
176
  # 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);
181
- [ :eet_data_image_write, [ :eet_file_p, :string, :void_p, :uint, :uint, :int, :int, :int, :int ], :int ],
177
+ [ :eet_data_image_write, [ :eet_file, :string, :pointer, :uint, :uint, :int, :int, :int, :int ], :int ],
182
178
  # 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);
183
- [ :eet_data_image_header_decode, [ :void_p, :int, :uint_p, :uint_p, :int_p, :int_p, :int_p, :int_p ], :int ],
179
+ [ :eet_data_image_header_decode, [ :pointer, :int, :pointer, :pointer, :pointer, :pointer, :pointer, :pointer ], :int ],
184
180
  # EAPI void * eet_data_image_decode(const void *data, int size, unsigned int *w, unsigned int *h, int *alpha, int *compress, int *quality, int *lossy);
185
- [ :eet_data_image_decode, [ :void_p, :int, :uint_p, :uint_p, :int_p, :int_p, :int_p, :int_p ], :void_p ],
181
+ [ :eet_data_image_decode, [ :pointer, :int, :pointer, :pointer, :pointer, :pointer, :pointer, :pointer ], :pointer ],
186
182
  # EAPI int eet_data_image_decode_to_surface(const void *data, 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);
187
- [ :eet_data_image_decode_to_surface, [ :void_p, :int, :uint, :uint, :uint_p, :uint, :uint, :uint, :int_p, :int_p, :int_p, :int_p ], :int ],
183
+ [ :eet_data_image_decode_to_surface, [ :pointer, :int, :uint, :uint, :pointer, :uint, :uint, :uint, :pointer, :pointer, :pointer, :pointer ],
184
+ :int ],
188
185
  # EAPI void * eet_data_image_encode(const void *data, int *size_ret, unsigned int w, unsigned int h, int alpha, int compress, int quality, int lossy);
189
- [ :eet_data_image_encode, [ :void_p, :int_p, :uint, :uint, :int, :int, :int, :int ], :void_p ],
186
+ [ :eet_data_image_encode, [ :pointer, :pointer, :uint, :uint, :int, :int, :int, :int ], :pointer ],
190
187
  # EAPI int eet_data_image_header_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);
191
- [ :eet_data_image_header_read_cipher, [ :eet_file_p, :string, :string, :uint_p, :uint_p, :int_p, :int_p, :int_p, :int_p ], :int ],
188
+ [ :eet_data_image_header_read_cipher, [ :eet_file, :string, :string, :pointer, :pointer, :pointer, :pointer, :pointer, :pointer ], :int ],
192
189
  # 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);
193
- [ :eet_data_image_read_cipher, [ :eet_file_p, :string, :string, :uint_p, :uint_p, :int_p, :int_p, :int_p, :int_p ], :void_p ],
190
+ [ :eet_data_image_read_cipher, [ :eet_file, :string, :string, :pointer, :pointer, :pointer, :pointer, :pointer, :pointer ], :pointer ],
194
191
  # 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);
195
- [ :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 ],
192
+ [ :eet_data_image_read_to_surface_cipher, [ :eet_file, :string, :string, :uint, :uint, :pointer, :uint, :uint, :uint, :pointer, :pointer,
193
+ :pointer, :pointer ], :int ],
196
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);
197
- [ :eet_data_image_write_cipher, [ :eet_file_p, :string, :string, :void_p, :uint, :uint, :int, :int, :int, :int ], :int ],
195
+ [ :eet_data_image_write_cipher, [ :eet_file, :string, :string, :pointer, :uint, :uint, :int, :int, :int, :int ], :int ],
198
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);
199
- [ :eet_data_image_header_decode_cipher, [ :void_p, :string, :int, :uint_p, :uint_p, :int_p, :int_p, :int_p, :int_p ], :int ],
197
+ [ :eet_data_image_header_decode_cipher, [ :pointer, :string, :int, :pointer, :pointer, :pointer, :pointer, :pointer, :pointer ], :int ],
200
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);
201
- [ :eet_data_image_decode_cipher, [ :void_p, :string, :int, :uint_p, :uint_p, :int_p, :int_p, :int_p, :int_p ], :void_p ],
199
+ [ :eet_data_image_decode_cipher, [ :pointer, :string, :int, :pointer, :pointer, :pointer, :pointer, :pointer, :pointer ], :pointer ],
202
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);
203
- [ :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 ],
201
+ [ :eet_data_image_decode_to_surface_cipher, [ :pointer, :string, :int, :uint, :uint, :pointer, :uint, :uint, :uint, :pointer, :pointer,
202
+ :pointer, :pointer ], :int ],
204
203
  # 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);
205
- [ :eet_data_image_encode_cipher, [ :void_p, :string, :uint, :uint, :int, :int, :int, :int, :int_p ], :void_p ],
204
+ [ :eet_data_image_encode_cipher, [ :pointer, :string, :uint, :uint, :int, :int, :int, :int, :pointer ], :pointer ],
206
205
  # EAPI Eet_Key * eet_identity_open(const char *certificate_file, const char *private_key_file, Eet_Key_Password_Callback cb);
207
- [ :eet_identity_open, [ :string, :string, :eet_key_password_callback ], :eet_key_p ],
206
+ [ :eet_identity_open, [ :string, :string, :eet_key_password_callback_cb ], :eet_key ],
208
207
  # EAPI void eet_identity_close(Eet_Key *key);
209
- [ :eet_identity_close, [ :eet_key_p ], :void ],
208
+ [ :eet_identity_close, [ :eet_key ], :void ],
210
209
  # EAPI Eet_Error eet_identity_set(Eet_File *ef, Eet_Key *key);
211
- [ :eet_identity_set, [ :eet_file_p, :eet_key_p ], :eet_error ],
210
+ [ :eet_identity_set, [ :eet_file, :eet_key ], :eet_error ],
212
211
  # EAPI void eet_identity_print(Eet_Key *key, FILE *out);
213
- [ :eet_identity_print, [ :eet_key_p, :pointer ], :void ],
212
+ [ :eet_identity_print, [ :eet_key, :pointer ], :void ],
214
213
  # EAPI const void * eet_identity_x509(Eet_File *ef, int *der_length);
215
- [ :eet_identity_x509, [ :eet_file_p, :int_p ], :void_p ],
214
+ [ :eet_identity_x509, [ :eet_file, :pointer ], :pointer ],
216
215
  # EAPI const void * eet_identity_signature(Eet_File *ef, int *signature_length);
217
- [ :eet_identity_signature, [ :eet_file_p, :int_p ], :void_p ],
216
+ [ :eet_identity_signature, [ :eet_file, :pointer ], :pointer ],
218
217
  # EAPI const void * eet_identity_sha1(Eet_File *ef, int *sha1_length);
219
- [ :eet_identity_sha1, [ :eet_file_p, :int_p ], :void_p ],
218
+ [ :eet_identity_sha1, [ :eet_file, :pointer ], :pointer ],
220
219
  # EAPI void eet_identity_certificate_print(const unsigned char *certificate, int der_length, FILE *out);
221
- [ :eet_identity_certificate_print, [ :uchar_p, :int, :pointer ], :void ],
220
+ [ :eet_identity_certificate_print, [ :pointer, :int, :pointer ], :void ],
222
221
  # EAPI Eet_Data_Descriptor * eet_data_descriptor_stream_new(const Eet_Data_Descriptor_Class *eddc);
223
- [ :eet_data_descriptor_stream_new, [ :eet_data_descriptor_class_p ], :eet_data_descriptor_p ],
222
+ [ :eet_data_descriptor_stream_new, [ :eet_data_descriptor_class ], :eet_data_descriptor ],
224
223
  # EAPI Eet_Data_Descriptor * eet_data_descriptor_file_new(const Eet_Data_Descriptor_Class *eddc);
225
- [ :eet_data_descriptor_file_new, [ :eet_data_descriptor_class_p ], :eet_data_descriptor_p ],
224
+ [ :eet_data_descriptor_file_new, [ :eet_data_descriptor_class ], :eet_data_descriptor ],
226
225
  # EAPI Eina_Bool eet_eina_stream_data_descriptor_class_set(Eet_Data_Descriptor_Class *eddc, unsigned int eddc_size, const char *name, int size);
227
- [ :eet_eina_stream_data_descriptor_class_set, [ :eet_data_descriptor_class_p, :uint, :string, :int ], :eina_bool ],
226
+ [ :eet_eina_stream_data_descriptor_class_set, [ :eet_data_descriptor_class, :uint, :string, :int ], :bool ],
228
227
  # EAPI Eina_Bool eet_eina_file_data_descriptor_class_set(Eet_Data_Descriptor_Class *eddc, unsigned int eddc_size, const char *name, int size);
229
- [ :eet_eina_file_data_descriptor_class_set, [ :eet_data_descriptor_class_p, :uint, :string, :int ], :eina_bool ],
228
+ [ :eet_eina_file_data_descriptor_class_set, [ :eet_data_descriptor_class, :uint, :string, :int ], :bool ],
230
229
  # EAPI void eet_data_descriptor_free(Eet_Data_Descriptor *edd);
231
- [ :eet_data_descriptor_free, [ :eet_data_descriptor_p ], :void ],
230
+ [ :eet_data_descriptor_free, [ :eet_data_descriptor ], :void ],
232
231
  # EAPI void eet_data_descriptor_element_add(Eet_Data_Descriptor *edd, const char *name, int type, int group_type, int offset, /* int count_offset, */
233
232
  # FIXME
234
233
  # EAPI void * eet_data_read(Eet_File *ef, Eet_Data_Descriptor *edd, const char *name);
235
- [ :eet_data_read, [ :eet_file_p, :eet_data_descriptor_p, :string ], :void_p ],
234
+ [ :eet_data_read, [ :eet_file, :eet_data_descriptor, :string ], :pointer ],
236
235
  # EAPI int eet_data_write(Eet_File *ef, Eet_Data_Descriptor *edd, const char *name, const void *data, int compress);
237
- [ :eet_data_write, [ :eet_file_p, :eet_data_descriptor_p, :string, :void_p, :int ], :int ],
236
+ [ :eet_data_write, [ :eet_file, :eet_data_descriptor, :string, :pointer, :int ], :int ],
238
237
  # EAPI int eet_data_text_dump(const void *data_in, int size_in, Eet_Dump_Callback dumpfunc, void *dumpdata);
239
- [ :eet_data_text_dump, [ :void_p, :int, :eet_dump_callback, :void_p ], :int ],
238
+ [ :eet_data_text_dump, [ :pointer, :int, :eet_dump_callback_cb, :pointer ], :int ],
240
239
  # EAPI void * eet_data_text_undump(const char *text, int textlen, int *size_ret);
241
- [ :eet_data_text_undump, [ :string, :int, :int_p ], :void_p ],
240
+ [ :eet_data_text_undump, [ :string, :int, :pointer ], :pointer ],
242
241
  # EAPI int eet_data_dump(Eet_File *ef, const char *name, Eet_Dump_Callback dumpfunc, void *dumpdata);
243
- [ :eet_data_dump, [ :eet_file_p, :string, :eet_dump_callback, :void_p ], :int ],
242
+ [ :eet_data_dump, [ :eet_file, :string, :eet_dump_callback_cb, :pointer ], :int ],
244
243
  # EAPI int eet_data_undump(Eet_File *ef, const char *name, const char *text, int textlen, int compress);
245
- [ :eet_data_undump, [ :eet_file_p, :string, :string, :int, :int ], :int ],
244
+ [ :eet_data_undump, [ :eet_file, :string, :string, :int, :int ], :int ],
246
245
  # EAPI void * eet_data_descriptor_decode(Eet_Data_Descriptor *edd, const void *data_in, int size_in);
247
- [ :eet_data_descriptor_decode, [ :eet_data_descriptor_p, :void_p, :int ], :void_p ],
246
+ [ :eet_data_descriptor_decode, [ :eet_data_descriptor, :pointer, :int ], :pointer ],
248
247
  # EAPI void * eet_data_descriptor_encode(Eet_Data_Descriptor *edd, const void *data_in, int *size_ret);
249
- [ :eet_data_descriptor_encode, [ :eet_data_descriptor_p, :void_p, :int_p ], :void_p ],
248
+ [ :eet_data_descriptor_encode, [ :eet_data_descriptor, :pointer, :pointer ], :pointer ],
250
249
  # EAPI void * eet_data_read_cipher(Eet_File *ef, Eet_Data_Descriptor *edd, const char *name, const char *cipher_key);
251
- [ :eet_data_read_cipher, [ :eet_file_p, :eet_data_descriptor_p, :string, :string ], :void_p ],
250
+ [ :eet_data_read_cipher, [ :eet_file, :eet_data_descriptor, :string, :string ], :pointer ],
252
251
  # EAPI void * eet_data_xattr_cipher_get(const char *filename, const char *attribute, Eet_Data_Descriptor *edd, const char *cipher_key);
253
- [ :eet_data_xattr_cipher_get, [ :string, :string, :eet_data_descriptor_p, :string ], :void_p ],
252
+ [ :eet_data_xattr_cipher_get, [ :string, :string, :eet_data_descriptor, :string ], :pointer ],
254
253
  # EAPI int eet_data_write_cipher(Eet_File *ef, Eet_Data_Descriptor *edd, const char *name, const char *cipher_key, const void *data, int compress);
255
- [ :eet_data_write_cipher, [ :eet_file_p, :eet_data_descriptor_p, :string, :string, :void_p, :int ], :int ],
254
+ [ :eet_data_write_cipher, [ :eet_file, :eet_data_descriptor, :string, :string, :pointer, :int ], :int ],
256
255
  # EAPI Eina_Bool eet_data_xattr_cipher_set(const char *filename, const char *attribute, Eet_Data_Descriptor *edd, const char *cipher_key, const void *data, Eina_Xattr_Flags flags);
257
- [ :eet_data_xattr_cipher_set, [ :string, :string, :eet_data_descriptor_p, :string, :void_p, :eina_xattr_flags ], :eina_bool ],
256
+ [ :eet_data_xattr_cipher_set, [ :string, :string, :eet_data_descriptor, :string, :pointer, :eina_xattr_flags ], :bool ],
258
257
  # EAPI int eet_data_text_dump_cipher(const void *data_in, const char *cipher_key, int size_in, Eet_Dump_Callback dumpfunc, void *dumpdata);
259
- [ :eet_data_text_dump_cipher, [ :void_p, :string, :int, :eet_dump_callback, :void_p ], :int ],
258
+ [ :eet_data_text_dump_cipher, [ :pointer, :string, :int, :eet_dump_callback_cb, :pointer ], :int ],
260
259
  # EAPI void * eet_data_text_undump_cipher(const char *text, const char *cipher_key, int textlen, int *size_ret);
261
- [ :eet_data_text_undump_cipher, [ :string, :string, :int, :int_p ], :void_p ],
260
+ [ :eet_data_text_undump_cipher, [ :string, :string, :int, :pointer ], :pointer ],
262
261
  # EAPI int eet_data_dump_cipher(Eet_File *ef, const char *name, const char *cipher_key, Eet_Dump_Callback dumpfunc, void *dumpdata);
263
- [ :eet_data_dump_cipher, [ :eet_file_p, :string, :string, :eet_dump_callback, :void_p ], :int ],
262
+ [ :eet_data_dump_cipher, [ :eet_file, :string, :string, :eet_dump_callback_cb, :pointer ], :int ],
264
263
  # EAPI int eet_data_undump_cipher(Eet_File *ef, const char *name, const char *cipher_key, const char *text, int textlen, int compress);
265
- [ :eet_data_undump_cipher, [ :eet_file_p, :string, :string, :string, :int, :int ], :int ],
264
+ [ :eet_data_undump_cipher, [ :eet_file, :string, :string, :string, :int, :int ], :int ],
266
265
  # EAPI void * eet_data_descriptor_decode_cipher(Eet_Data_Descriptor *edd, const void *data_in, const char *cipher_key, int size_in);
267
- [ :eet_data_descriptor_decode_cipher, [ :eet_data_descriptor_p, :void_p, :string, :int ], :void_p ],
266
+ [ :eet_data_descriptor_decode_cipher, [ :eet_data_descriptor, :pointer, :string, :int ], :pointer ],
268
267
  # EAPI void * eet_data_descriptor_encode_cipher(Eet_Data_Descriptor *edd, const void *data_in, const char *cipher_key, int *size_ret);
269
- [ :eet_data_descriptor_encode_cipher, [ :eet_data_descriptor_p, :void_p, :string, :int_p ], :void_p ],
268
+ [ :eet_data_descriptor_encode_cipher, [ :eet_data_descriptor, :pointer, :string, :pointer ], :pointer ],
270
269
  # EAPI Eet_Node * eet_node_char_new(const char *name, char c);
271
- [ :eet_node_char_new, [ :string, :char ], :eet_node_p ],
270
+ [ :eet_node_char_new, [ :string, :char ], :eet_node ],
272
271
  # EAPI Eet_Node * eet_node_short_new(const char *name, short s);
273
- [ :eet_node_short_new, [ :string, :short ], :eet_node_p ],
272
+ [ :eet_node_short_new, [ :string, :short ], :eet_node ],
274
273
  # EAPI Eet_Node * eet_node_int_new(const char *name, int i);
275
- [ :eet_node_int_new, [ :string, :int ], :eet_node_p ],
274
+ [ :eet_node_int_new, [ :string, :int ], :eet_node ],
276
275
  # EAPI Eet_Node * eet_node_long_long_new(const char *name, long long l);
277
- [ :eet_node_long_long_new, [ :string, :long_long ], :eet_node_p ],
276
+ [ :eet_node_long_long_new, [ :string, :long_long ], :eet_node ],
278
277
  # EAPI Eet_Node * eet_node_float_new(const char *name, float f);
279
- [ :eet_node_float_new, [ :string, :float ], :eet_node_p ],
278
+ [ :eet_node_float_new, [ :string, :float ], :eet_node ],
280
279
  # EAPI Eet_Node * eet_node_double_new(const char *name, double d);
281
- [ :eet_node_double_new, [ :string, :double ], :eet_node_p ],
280
+ [ :eet_node_double_new, [ :string, :double ], :eet_node ],
282
281
  # EAPI Eet_Node * eet_node_unsigned_char_new(const char *name, unsigned char uc);
283
- [ :eet_node_unsigned_char_new, [ :string, :uchar ], :eet_node_p ],
282
+ [ :eet_node_unsigned_char_new, [ :string, :uchar ], :eet_node ],
284
283
  # EAPI Eet_Node * eet_node_unsigned_short_new(const char *name, unsigned short us);
285
- [ :eet_node_unsigned_short_new, [ :string, :ushort ], :eet_node_p ],
284
+ [ :eet_node_unsigned_short_new, [ :string, :ushort ], :eet_node ],
286
285
  # EAPI Eet_Node * eet_node_unsigned_int_new(const char *name, unsigned int ui);
287
- [ :eet_node_unsigned_int_new, [ :string, :uint ], :eet_node_p ],
286
+ [ :eet_node_unsigned_int_new, [ :string, :uint ], :eet_node ],
288
287
  # EAPI Eet_Node * eet_node_unsigned_long_long_new(const char *name, unsigned long long l);
289
- [ :eet_node_unsigned_long_long_new, [ :string, :ulong_long ], :eet_node_p ],
288
+ [ :eet_node_unsigned_long_long_new, [ :string, :ulong_long ], :eet_node ],
290
289
  # EAPI Eet_Node * eet_node_string_new(const char *name, const char *str);
291
- [ :eet_node_string_new, [ :string, :string ], :eet_node_p ],
290
+ [ :eet_node_string_new, [ :string, :string ], :eet_node ],
292
291
  # EAPI Eet_Node * eet_node_inlined_string_new(const char *name, const char *str);
293
- [ :eet_node_inlined_string_new, [ :string, :string ], :eet_node_p ],
292
+ [ :eet_node_inlined_string_new, [ :string, :string ], :eet_node ],
294
293
  # EAPI Eet_Node * eet_node_null_new(const char *name);
295
- [ :eet_node_null_new, [ :string ], :eet_node_p ],
294
+ [ :eet_node_null_new, [ :string ], :eet_node ],
296
295
  # EAPI Eet_Node * eet_node_list_new(const char *name, Eina_List *nodes);
297
- [ :eet_node_list_new, [ :string, :eina_list_p ], :eet_node_p ],
296
+ [ :eet_node_list_new, [ :string, :eina_list ], :eet_node ],
298
297
  # EAPI Eet_Node * eet_node_array_new(const char *name, int count, Eina_List *nodes);
299
- [ :eet_node_array_new, [ :string, :int, :eina_list_p ], :eet_node_p ],
298
+ [ :eet_node_array_new, [ :string, :int, :eina_list ], :eet_node ],
300
299
  # EAPI Eet_Node * eet_node_var_array_new(const char *name, Eina_List *nodes);
301
- [ :eet_node_var_array_new, [ :string, :eina_list_p ], :eet_node_p ],
300
+ [ :eet_node_var_array_new, [ :string, :eina_list ], :eet_node ],
302
301
  # EAPI Eet_Node * eet_node_hash_new(const char *name, const char *key, Eet_Node *node);
303
- [ :eet_node_hash_new, [ :string, :string, :eet_node_p ], :eet_node_p ],
302
+ [ :eet_node_hash_new, [ :string, :string, :eet_node ], :eet_node ],
304
303
  # EAPI Eet_Node * eet_node_struct_new(const char *name, Eina_List *nodes);
305
- [ :eet_node_struct_new, [ :string, :eina_list_p ], :eet_node_p ],
304
+ [ :eet_node_struct_new, [ :string, :eina_list ], :eet_node ],
306
305
  # EAPI Eet_Node * eet_node_struct_child_new(const char *parent, Eet_Node *child);
307
- [ :eet_node_struct_child_new, [ :string, :eet_node_p ], :eet_node_p ],
306
+ [ :eet_node_struct_child_new, [ :string, :eet_node ], :eet_node ],
308
307
  # EAPI Eet_Node * eet_node_children_get(Eet_Node *node);
309
- [ :eet_node_children_get, [ :eet_node_p ], :eet_node_p ],
308
+ [ :eet_node_children_get, [ :eet_node ], :eet_node ],
310
309
  # EAPI Eet_Node * eet_node_next_get(Eet_Node *node);
311
- [ :eet_node_next_get, [ :eet_node_p ], :eet_node_p ],
310
+ [ :eet_node_next_get, [ :eet_node ], :eet_node ],
312
311
  # EAPI Eet_Node * eet_node_parent_get(Eet_Node *node);
313
- [ :eet_node_parent_get, [ :eet_node_p ], :eet_node_p ],
312
+ [ :eet_node_parent_get, [ :eet_node ], :eet_node ],
314
313
  # EAPI void eet_node_list_append(Eet_Node *parent, const char *name, Eet_Node *child);
315
- [ :eet_node_list_append, [ :eet_node_p, :string, :eet_node_p ], :void ],
314
+ [ :eet_node_list_append, [ :eet_node, :string, :eet_node ], :void ],
316
315
  # EAPI void eet_node_struct_append(Eet_Node *parent, const char *name, Eet_Node *child);
317
- [ :eet_node_struct_append, [ :eet_node_p, :string, :eet_node_p ], :void ],
316
+ [ :eet_node_struct_append, [ :eet_node, :string, :eet_node ], :void ],
318
317
  # EAPI void eet_node_hash_add(Eet_Node *parent, const char *name, const char *key, Eet_Node *child);
319
- [ :eet_node_hash_add, [ :eet_node_p, :string, :string, :eet_node_p ], :void ],
318
+ [ :eet_node_hash_add, [ :eet_node, :string, :string, :eet_node ], :void ],
320
319
  # EAPI void eet_node_dump(Eet_Node *n, int dumplevel, Eet_Dump_Callback dumpfunc, void *dumpdata);
321
- [ :eet_node_dump, [ :eet_node_p, :int, :eet_dump_callback, :void_p ], :void ],
320
+ [ :eet_node_dump, [ :eet_node, :int, :eet_dump_callback_cb, :pointer ], :void ],
322
321
  # EAPI int eet_node_type_get(Eet_Node *node);
323
- [ :eet_node_type_get, [ :eet_node_p ], :int ],
322
+ [ :eet_node_type_get, [ :eet_node ], :int ],
324
323
  # EAPI Eet_Node_Data * eet_node_value_get(Eet_Node *node);
325
- [ :eet_node_value_get, [ :eet_node_p ], :eet_node_data_p ],
324
+ [ :eet_node_value_get, [ :eet_node ], :eet_node_data ],
326
325
  # EAPI void eet_node_del(Eet_Node *n);
327
- [ :eet_node_del, [ :eet_node_p ], :void ],
326
+ [ :eet_node_del, [ :eet_node ], :void ],
328
327
  # EAPI void * eet_data_node_encode_cipher(Eet_Node *node, const char *cipher_key, int *size_ret);
329
- [ :eet_data_node_encode_cipher, [ :eet_node_p, :string, :int_p ], :void_p ],
328
+ [ :eet_data_node_encode_cipher, [ :eet_node, :string, :pointer ], :pointer ],
330
329
  # EAPI Eet_Node * eet_data_node_decode_cipher(const void *data_in, const char *cipher_key, int size_in);
331
- [ :eet_data_node_decode_cipher, [ :void_p, :string, :int ], :eet_node_p ],
330
+ [ :eet_data_node_decode_cipher, [ :pointer, :string, :int ], :eet_node ],
332
331
  # EAPI Eet_Node * eet_data_node_read_cipher(Eet_File *ef, const char *name, const char *cipher_key);
333
- [ :eet_data_node_read_cipher, [ :eet_file_p, :string, :string ], :eet_node_p ],
332
+ [ :eet_data_node_read_cipher, [ :eet_file, :string, :string ], :eet_node ],
334
333
  # EAPI int eet_data_node_write_cipher(Eet_File *ef, const char *name, const char *cipher_key, Eet_Node *node, int compress);
335
- [ :eet_data_node_write_cipher, [ :eet_file_p, :string, :string, :eet_node_p, :int ], :int ],
334
+ [ :eet_data_node_write_cipher, [ :eet_file, :string, :string, :eet_node, :int ], :int ],
336
335
  # EAPI void * eet_node_walk(void *parent, const char *name, Eet_Node *root, Eet_Node_Walk *cb, void *user_data);
337
- [ :eet_node_walk, [ :void_p, :string, :eet_node_p, :eet_node_walk_p, :void_p ], :void_p ],
336
+ [ :eet_node_walk, [ :pointer, :string, :eet_node, :eet_node_walk, :pointer ], :pointer ],
338
337
  # EAPI Eet_Connection * eet_connection_new(Eet_Read_Cb *eet_read_cb, Eet_Write_Cb *eet_write_cb, const void *user_data);
339
- [ :eet_connection_new, [ :eet_read_cb, :eet_write_cb, :void_p ], :eet_connection_p ],
338
+ [ :eet_connection_new, [ :pointer, :pointer, :pointer ], :eet_connection ],
340
339
  # EAPI int eet_connection_received(Eet_Connection *conn, const void *data, size_t size);
341
- [ :eet_connection_received, [ :eet_connection_p, :void_p, :ulong ], :int ],
340
+ [ :eet_connection_received, [ :eet_connection, :pointer, :ulong ], :int ],
342
341
  # EAPI Eina_Bool eet_connection_send(Eet_Connection *conn, Eet_Data_Descriptor *edd, const void *data_in, const char *cipher_key);
343
- [ :eet_connection_send, [ :eet_connection_p, :eet_data_descriptor_p, :void_p, :string ], :eina_bool ],
342
+ [ :eet_connection_send, [ :eet_connection, :eet_data_descriptor, :pointer, :string ], :bool ],
344
343
  # EAPI Eina_Bool eet_connection_node_send(Eet_Connection *conn, Eet_Node *node, const char *cipher_key);
345
- [ :eet_connection_node_send, [ :eet_connection_p, :eet_node_p, :string ], :eina_bool ],
344
+ [ :eet_connection_node_send, [ :eet_connection, :eet_node, :string ], :bool ],
346
345
  # EAPI void * eet_connection_close(Eet_Connection *conn, Eina_Bool *on_going);
347
- [ :eet_connection_close, [ :eet_connection_p, :eina_bool_p ], :void_p ],
346
+ [ :eet_connection_close, [ :eet_connection, :pointer ], :pointer ],
348
347
  ]
349
348
  #
350
349
  attach_fcts fcts