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_threadio_indata_get_static_delegate == null) { efl_threadio_indata_get_static_delegate = new efl_threadio_indata_get_delegate(indata_get); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_threadio_indata_get"), func = Marshal.GetFunctionPointerForDelegate(efl_threadio_indata_get_static_delegate) }); if (efl_threadio_indata_set_static_delegate == null) { efl_threadio_indata_set_static_delegate = new efl_threadio_indata_set_delegate(indata_set); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_threadio_indata_set"), func = Marshal.GetFunctionPointerForDelegate(efl_threadio_indata_set_static_delegate) }); if (efl_threadio_outdata_get_static_delegate == null) { efl_threadio_outdata_get_static_delegate = new efl_threadio_outdata_get_delegate(outdata_get); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_threadio_outdata_get"), func = Marshal.GetFunctionPointerForDelegate(efl_threadio_outdata_get_static_delegate) }); if (efl_threadio_outdata_set_static_delegate == null) { efl_threadio_outdata_set_static_delegate = new efl_threadio_outdata_set_delegate(outdata_set); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_threadio_outdata_set"), func = Marshal.GetFunctionPointerForDelegate(efl_threadio_outdata_set_static_delegate) }); if (efl_threadio_call_static_delegate == null) { efl_threadio_call_static_delegate = new efl_threadio_call_delegate(call); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_threadio_call"), func = Marshal.GetFunctionPointerForDelegate(efl_threadio_call_static_delegate) }); if (efl_threadio_call_sync_static_delegate == null) { efl_threadio_call_sync_static_delegate = new efl_threadio_call_sync_delegate(call_sync); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_threadio_call_sync"), func = Marshal.GetFunctionPointerForDelegate(efl_threadio_call_sync_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>(); var methods = Efl.Eo.Globals.GetUserMethods(type); if (efl_threadio_indata_get_static_delegate == null) { efl_threadio_indata_get_static_delegate = new efl_threadio_indata_get_delegate(indata_get); } if (methods.FirstOrDefault(m => m.Name == "GetIndata") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_threadio_indata_get"), func = Marshal.GetFunctionPointerForDelegate(efl_threadio_indata_get_static_delegate) }); } if (efl_threadio_indata_set_static_delegate == null) { efl_threadio_indata_set_static_delegate = new efl_threadio_indata_set_delegate(indata_set); } if (methods.FirstOrDefault(m => m.Name == "SetIndata") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_threadio_indata_set"), func = Marshal.GetFunctionPointerForDelegate(efl_threadio_indata_set_static_delegate) }); } if (efl_threadio_outdata_get_static_delegate == null) { efl_threadio_outdata_get_static_delegate = new efl_threadio_outdata_get_delegate(outdata_get); } if (methods.FirstOrDefault(m => m.Name == "GetOutdata") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_threadio_outdata_get"), func = Marshal.GetFunctionPointerForDelegate(efl_threadio_outdata_get_static_delegate) }); } if (efl_threadio_outdata_set_static_delegate == null) { efl_threadio_outdata_set_static_delegate = new efl_threadio_outdata_set_delegate(outdata_set); } if (methods.FirstOrDefault(m => m.Name == "SetOutdata") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_threadio_outdata_set"), func = Marshal.GetFunctionPointerForDelegate(efl_threadio_outdata_set_static_delegate) }); } if (efl_threadio_call_static_delegate == null) { efl_threadio_call_static_delegate = new efl_threadio_call_delegate(call); } if (methods.FirstOrDefault(m => m.Name == "Call") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_threadio_call"), func = Marshal.GetFunctionPointerForDelegate(efl_threadio_call_static_delegate) }); } if (efl_threadio_call_sync_static_delegate == null) { efl_threadio_call_sync_static_delegate = new efl_threadio_call_sync_delegate(call_sync); } if (methods.FirstOrDefault(m => m.Name == "CallSync") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_threadio_call_sync"), func = Marshal.GetFunctionPointerForDelegate(efl_threadio_call_sync_static_delegate) }); } return(descs); }