def libvlc_free(ptr):
    f = _Cfunctions.get('libvlc_free', None) or \
        _Cfunction('libvlc_free', ((1,),), None,
                    None, ctypes.c_void_p)
    if not __debug__:  # i.e. python -O or -OO
        global libvlc_free
        libvlc_free = f
    return f(ptr)
Frees an heap allocation returned by a LibVLC function.
dataset/ETHPy150Open disqus/playa/playa/lib/vlc.py/libvlc_free