[vlc-devel] [PATCH 2/2] Replaces vlc_gc_incref and decref by input_item_Hold and Release
Julien 'Lta' BALLET
contact at lta.io
Sat May 24 16:43:09 CEST 2014
On Sat, May 24, 2014 at 4:31 PM, Julien 'Lta' BALLET <elthariel at gmail.com>wrote:
> diff --git a/test/native/gc.c b/test/native/gc.c
> index f52263a..70da068 100644
> --- a/test/native/gc.c
> +++ b/test/native/gc.c
> @@ -25,14 +25,14 @@ static PyObject *gc_test( PyObject *self, PyObject
> *args )
>
> vlc_gc_init( gc, mygc_destructor, NULL );
> ASSERT( gc->i_gc_refcount == 0, "Refcount should be 0" );
> - vlc_gc_incref( gc );
> + input_item_Hold( gc );
>
Maybe the sed was a too strong solution.
Is this supposed to work ? grepping vlc_gc_init doesn't return anything in
the vlc source tree ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20140524/1be6aeaa/attachment.html>
More information about the vlc-devel
mailing list