/// <summary>Gets the list of Eo operations to override.</summary> /// <returns>The list of Eo operations to be overload.</returns> public override System.Collections.Generic.List <Efl_Op_Description> GetEoOps(System.Type type) { var descs = new System.Collections.Generic.List <Efl_Op_Description>(); var methods = Efl.Eo.Globals.GetUserMethods(type); if (efl_pack_clear_static_delegate == null) { efl_pack_clear_static_delegate = new efl_pack_clear_delegate(pack_clear); } if (methods.FirstOrDefault(m => m.Name == "ClearPack") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_clear"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_clear_static_delegate) }); } if (efl_pack_unpack_all_static_delegate == null) { efl_pack_unpack_all_static_delegate = new efl_pack_unpack_all_delegate(unpack_all); } if (methods.FirstOrDefault(m => m.Name == "UnpackAll") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_unpack_all"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_unpack_all_static_delegate) }); } if (efl_pack_unpack_static_delegate == null) { efl_pack_unpack_static_delegate = new efl_pack_unpack_delegate(unpack); } if (methods.FirstOrDefault(m => m.Name == "Unpack") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_unpack"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_unpack_static_delegate) }); } if (efl_pack_static_delegate == null) { efl_pack_static_delegate = new efl_pack_delegate(pack); } if (methods.FirstOrDefault(m => m.Name == "Pack") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_static_delegate) }); } if (efl_pack_begin_static_delegate == null) { efl_pack_begin_static_delegate = new efl_pack_begin_delegate(pack_begin); } if (methods.FirstOrDefault(m => m.Name == "PackBegin") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_begin"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_begin_static_delegate) }); } if (efl_pack_end_static_delegate == null) { efl_pack_end_static_delegate = new efl_pack_end_delegate(pack_end); } if (methods.FirstOrDefault(m => m.Name == "PackEnd") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_end"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_end_static_delegate) }); } if (efl_pack_before_static_delegate == null) { efl_pack_before_static_delegate = new efl_pack_before_delegate(pack_before); } if (methods.FirstOrDefault(m => m.Name == "PackBefore") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_before"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_before_static_delegate) }); } if (efl_pack_after_static_delegate == null) { efl_pack_after_static_delegate = new efl_pack_after_delegate(pack_after); } if (methods.FirstOrDefault(m => m.Name == "PackAfter") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_after"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_after_static_delegate) }); } if (efl_pack_at_static_delegate == null) { efl_pack_at_static_delegate = new efl_pack_at_delegate(pack_at); } if (methods.FirstOrDefault(m => m.Name == "PackAt") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_at"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_at_static_delegate) }); } if (efl_pack_content_get_static_delegate == null) { efl_pack_content_get_static_delegate = new efl_pack_content_get_delegate(pack_content_get); } if (methods.FirstOrDefault(m => m.Name == "GetPackContent") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_content_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_content_get_static_delegate) }); } if (efl_pack_index_get_static_delegate == null) { efl_pack_index_get_static_delegate = new efl_pack_index_get_delegate(pack_index_get); } if (methods.FirstOrDefault(m => m.Name == "GetPackIndex") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_index_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_index_get_static_delegate) }); } if (efl_pack_unpack_at_static_delegate == null) { efl_pack_unpack_at_static_delegate = new efl_pack_unpack_at_delegate(pack_unpack_at); } if (methods.FirstOrDefault(m => m.Name == "PackUnpackAt") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_unpack_at"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_unpack_at_static_delegate) }); } descs.AddRange(base.GetEoOps(type)); return(descs); }
/// <summary>Gets the list of Eo operations to override.</summary> /// <returns>The list of Eo operations to be overload.</returns> public override System.Collections.Generic.List <Efl_Op_Description> GetEoOps(System.Type type) { var descs = new System.Collections.Generic.List <Efl_Op_Description>(); var methods = Efl.Eo.Globals.GetUserMethods(type); if (efl_pack_clear_static_delegate == null) { efl_pack_clear_static_delegate = new efl_pack_clear_delegate(pack_clear); } if (methods.FirstOrDefault(m => m.Name == "ClearPack") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_clear"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_clear_static_delegate) }); } if (efl_pack_unpack_all_static_delegate == null) { efl_pack_unpack_all_static_delegate = new efl_pack_unpack_all_delegate(unpack_all); } if (methods.FirstOrDefault(m => m.Name == "UnpackAll") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_unpack_all"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_unpack_all_static_delegate) }); } if (efl_pack_unpack_static_delegate == null) { efl_pack_unpack_static_delegate = new efl_pack_unpack_delegate(unpack); } if (methods.FirstOrDefault(m => m.Name == "Unpack") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_unpack"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_unpack_static_delegate) }); } if (efl_pack_static_delegate == null) { efl_pack_static_delegate = new efl_pack_delegate(pack); } if (methods.FirstOrDefault(m => m.Name == "Pack") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_static_delegate) }); } if (efl_content_iterate_static_delegate == null) { efl_content_iterate_static_delegate = new efl_content_iterate_delegate(content_iterate); } if (methods.FirstOrDefault(m => m.Name == "ContentIterate") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_iterate"), func = Marshal.GetFunctionPointerForDelegate(efl_content_iterate_static_delegate) }); } if (efl_content_count_static_delegate == null) { efl_content_count_static_delegate = new efl_content_count_delegate(content_count); } if (methods.FirstOrDefault(m => m.Name == "ContentCount") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_count"), func = Marshal.GetFunctionPointerForDelegate(efl_content_count_static_delegate) }); } return(descs); }
public override System.Collections.Generic.List <Efl_Op_Description> GetEoOps(System.Type type) { var descs = new System.Collections.Generic.List <Efl_Op_Description>(); if (efl_pack_align_get_static_delegate == null) { efl_pack_align_get_static_delegate = new efl_pack_align_get_delegate(pack_align_get); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_pack_align_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_align_get_static_delegate) }); if (efl_pack_align_set_static_delegate == null) { efl_pack_align_set_static_delegate = new efl_pack_align_set_delegate(pack_align_set); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_pack_align_set"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_align_set_static_delegate) }); if (efl_pack_padding_get_static_delegate == null) { efl_pack_padding_get_static_delegate = new efl_pack_padding_get_delegate(pack_padding_get); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_pack_padding_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_padding_get_static_delegate) }); if (efl_pack_padding_set_static_delegate == null) { efl_pack_padding_set_static_delegate = new efl_pack_padding_set_delegate(pack_padding_set); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_pack_padding_set"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_padding_set_static_delegate) }); if (efl_pack_clear_static_delegate == null) { efl_pack_clear_static_delegate = new efl_pack_clear_delegate(pack_clear); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_pack_clear"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_clear_static_delegate) }); if (efl_pack_unpack_all_static_delegate == null) { efl_pack_unpack_all_static_delegate = new efl_pack_unpack_all_delegate(unpack_all); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_pack_unpack_all"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_unpack_all_static_delegate) }); if (efl_pack_unpack_static_delegate == null) { efl_pack_unpack_static_delegate = new efl_pack_unpack_delegate(unpack); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_pack_unpack"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_unpack_static_delegate) }); if (efl_pack_static_delegate == null) { efl_pack_static_delegate = new efl_pack_delegate(pack); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_pack"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_static_delegate) }); if (efl_content_iterate_static_delegate == null) { efl_content_iterate_static_delegate = new efl_content_iterate_delegate(content_iterate); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_content_iterate"), func = Marshal.GetFunctionPointerForDelegate(efl_content_iterate_static_delegate) }); if (efl_content_count_static_delegate == null) { efl_content_count_static_delegate = new efl_content_count_delegate(content_count); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_content_count"), func = Marshal.GetFunctionPointerForDelegate(efl_content_count_static_delegate) }); return(descs); }