public IteratorForeachFunctionWrapper(Gst.IteratorForeachFunction managed) { this.managed = managed; if (managed != null) { NativeDelegate = new IteratorForeachFunctionNative(NativeCallback); } }
public Gst.IteratorResult Foreach(Gst.IteratorForeachFunction func) { GstSharp.IteratorForeachFunctionWrapper func_wrapper = new GstSharp.IteratorForeachFunctionWrapper(func); int raw_ret = gst_iterator_foreach(Handle, func_wrapper.NativeDelegate, IntPtr.Zero); Gst.IteratorResult ret = (Gst.IteratorResult)raw_ret; return(ret); }