public static Gst.PadBufferAllocFunction GetManagedDelegate (PadBufferAllocFunctionNative native)
		{
			if (native == null)
				return null;
			PadBufferAllocFunctionWrapper wrapper = (PadBufferAllocFunctionWrapper) native.Target;
			if (wrapper == null)
				return null;
			return wrapper.managed;
		}
		public PadBufferAllocFunctionWrapper (Gst.PadBufferAllocFunction managed)
		{
			this.managed = managed;
			if (managed != null)
				NativeDelegate = new PadBufferAllocFunctionNative (NativeCallback);
		}
		internal PadBufferAllocFunctionInvoker (PadBufferAllocFunctionNative native_cb, IntPtr data) : this (native_cb, data, null) {}
		internal PadBufferAllocFunctionInvoker (PadBufferAllocFunctionNative native_cb, IntPtr data, Gst.GLib.DestroyNotify notify)
		{
			this.native_cb = native_cb;
			__data = data;
			__notify = notify;
		}
		internal PadBufferAllocFunctionInvoker (PadBufferAllocFunctionNative native_cb) : this (native_cb, IntPtr.Zero, null) {}