1 #ifdef HAVE_CONFIG_H
2   #include "elementary_config.h"
3 #endif
4 
5 #define EFL_ACCESS_TEXT_PROTECTED
6 
7 #include "elm_priv.h"
8 
9 void
elm_atspi_text_text_attribute_free(Efl_Access_Text_Attribute * attr)10 EAPI elm_atspi_text_text_attribute_free(Efl_Access_Text_Attribute *attr)
11 {
12    if (!attr) return;
13    if (attr->name) eina_stringshare_del(attr->name);
14    if (attr->value) eina_stringshare_del(attr->value);
15    free(attr);
16 }
17 
18 EAPI void
elm_atspi_text_text_range_free(Efl_Access_Text_Range * range)19 elm_atspi_text_text_range_free(Efl_Access_Text_Range *range)
20 {
21    free((char*)range->content);
22    free(range);
23 }
24 
25 #include "efl_access_text.eo.c"
26