#include "interfaces/efl_text_markup.eo.h"
#include "interfaces/efl_text_markup_util.eo.h"
+EAPI void efl_observable_tuple_free(Efl_Observable_Tuple *tuple);
+
/**
* @brief Get a proxy object referring to a part of an object.
*
return &it->iterator;
}
+EAPI void
+efl_observable_tuple_free(Efl_Observable_Tuple *tuple)
+{
+ //key is not owned
+ eina_iterator_free(tuple->data);
+}
+
#include "interfaces/efl_observable.eo.c"
#include "interfaces/efl_observer.eo.c"
build_id: string; [[Contains $EFL_BUILD_ID.]]
}
-struct Efl.Observable_Tuple
+struct @free(efl_observable_tuple_free) Efl.Observable_Tuple
{
[[This type describes an observable touple]]
key: string; [[Touple key]]
typedef Eo Efl_Ui_Focus_Manager;
#define _EFL_UI_FOCUS_MANAGER_EO_CLASS_TYPE
+
# include <efl_ui_focus_object.eo.h>
# include <efl_ui_focus_manager.eo.h>
+EAPI void efl_ui_focus_relation_free(Efl_Ui_Focus_Relations *rel);
# include <efl_ui_focus_manager_window_root.eo.h>
# include <efl_ui_focus_manager_calc.eo.h>
# include <efl_ui_focus_manager_sub.eo.h>
#include <Elementary.h>
#include "elm_priv.h"
+EAPI void
+efl_ui_focus_relation_free(Efl_Ui_Focus_Relations *rel)
+{
+ eina_list_free(rel->right);
+ eina_list_free(rel->left);
+ eina_list_free(rel->top);
+ eina_list_free(rel->down);
+ free(rel);
+}
+
#include "efl_ui_focus_manager.eo.c"
#include "efl_ui_focus_manager_window_root.eo.c"
import efl_ui;
import eina_types;
-struct Efl.Ui.Focus.Relations {
+struct @free(efl_ui_focus_relation_free) Efl.Ui.Focus.Relations {
[[Structure holding the graph of relations between focussable objects.
@since 1.20
]]
- right : list<Efl.Ui.Focus.Object>; [[List of objects on the right side]]
- left : list<Efl.Ui.Focus.Object>; [[[List of objects on the left side]]
- top : list<Efl.Ui.Focus.Object>; [[[List of objects above]]
- down : list<Efl.Ui.Focus.Object>; [[[List of objects below]]
+ right : list<Efl.Ui.Focus.Object> @owned; [[List of objects on the right side]]
+ left : list<Efl.Ui.Focus.Object> @owned; [[[List of objects on the left side]]
+ top : list<Efl.Ui.Focus.Object> @owned; [[[List of objects above]]
+ down : list<Efl.Ui.Focus.Object> @owned; [[[List of objects below]]
next : Efl.Ui.Focus.Object; [[[Next object]]
prev : Efl.Ui.Focus.Object; [[Previous object]]
parent : Efl.Ui.Focus.Object; [[Parent object]]
ctimensec: ulong; [[The nano version of the timestmap when the file was created]]
}
-struct @extern Eina.Promise; [[Eina promise type]]
+struct @extern @free(eina_promise_free) Eina.Promise; [[Eina promise type]]
/* FIXME: This definitely shouldn't be here. */
type Efl.Event_Cb: __undefined_type; [[Efl event callback type]]
#undef ck_assert_set_eq
+ efl_ui_focus_relation_free(rel);
+
efl_unref(middle);
efl_unref(north_east);
efl_unref(north_west);
-struct @extern Eo;
+struct @free(efl_del) @extern Eo;
class Complex_Type {
methods {