vlc.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:YoutubeMusicBot 作者: Gr3atWh173 项目源码 文件源码
def _Cfunction(name, flags, errcheck, *types):
    """(INTERNAL) New ctypes function binding.
    """
    if hasattr(dll, name) and name in _Globals:
        p = ctypes.CFUNCTYPE(*types)
        f = p((name, dll), flags)
        if errcheck is not None:
            f.errcheck = errcheck
        # replace the Python function
        # in this module, but only when
        # running as python -O or -OO
        if __debug__:
            _Cfunctions[name] = f
        else:
            _Globals[name] = f
        return f
    raise NameError('no function %r' % (name,))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号