Changeset 9df6f20907913b9f2d2bfc9c0578597083d24456

Show
Ignore:
Timestamp:
10/22/07 22:06:22 (10 months ago)
Author:
Rafaël Carré <funman@videolan.org>
git-committer:
Rafaël Carré <funman@videolan.org> 1193083582 +0000
git-parent:

[e6a14c1dcb64eba9bd1739e34c1b1965e776a946]

git-author:
Rafaël Carré <funman@videolan.org> 1193083582 +0000
Message:

libvlc_destroy() -> libvlc_release()

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • activex/plugin.cpp

    r6ee1e19 r9df6f20  
    662662        vlcDataObject->onClose(); 
    663663 
    664         libvlc_destroy(p_libvlc, NULL ); 
     664        libvlc_release(p_libvlc, NULL ); 
    665665    } 
    666666    return S_OK; 
  • bindings/cil/libvlc.cs

    r8837d3d r9df6f20  
    5656        InstanceHandle Create (int argc, U8String[] argv, NativeException ex); 
    5757 
    58         [DllImport ("libvlc-control.dll", EntryPoint="libvlc_destroy")] 
     58        [DllImport ("libvlc-control.dll", EntryPoint="libvlc_release")] 
    5959        static extern void Destroy (IntPtr ptr, NativeException ex); 
    6060 
  • bindings/java/src/core-jni.cc

    rcdab2db r9df6f20  
    8282    instance = getClassInstance( env, _this ); 
    8383 
    84     libvlc_destroy( (libvlc_instance_t *) instance, NULL); 
     84    libvlc_release( (libvlc_instance_t *) instance, NULL); 
    8585 
    8686    return; 
  • bindings/python/vlc_instance.c

    r6ee1e19 r9df6f20  
    113113{ 
    114114    libvlc_exception_t ex; 
    115     libvlc_destroy( LIBVLC_INSTANCE->p_instance, &ex ); 
     115    libvlc_release( LIBVLC_INSTANCE->p_instance, &ex ); 
    116116    PyObject_DEL( self ); 
    117117} 
  • extras/MacOSX/Framework/Sources/VLCLibrary.m

    r2e7f3ec r9df6f20  
    109109        libvlc_exception_init( &ex ); 
    110110         
    111         libvlc_destroy( instance, &ex ); 
     111        libvlc_release( instance, &ex ); 
    112112    } 
    113113    instance = nil; 
  • test/native/libvlc.c

    r6ee1e19 r9df6f20  
    4343    ASSERT_NOEXCEPTION; 
    4444    id1 = libvlc_get_vlc_id( p_i1 ); 
    45     libvlc_destroy( p_i1, &exception ); 
     45    libvlc_release( p_i1, &exception ); 
    4646    ASSERT_NOEXCEPTION; 
    4747 
     
    5858 
    5959    fprintf( stderr, "Destroy 1\n" ); 
    60     libvlc_destroy( p_i1, &exception ); 
     60    libvlc_release( p_i1, &exception ); 
    6161    ASSERT_NOEXCEPTION; 
    6262    fprintf( stderr, "Destroy 2\n" ); 
    63     libvlc_destroy( p_i2, &exception ); 
     63    libvlc_release( p_i2, &exception ); 
    6464    ASSERT_NOEXCEPTION; 
    6565