libload.py 文件源码

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

项目:Simulating-a-Self-Driving-Car 作者: Aniruddha-Tapas 项目源码 文件源码
def platform_specific_functions():
    # use stddecl on windows, cdecl on all other platforms

    d = {'library_loader' : ctypes.cdll
        ,'function_pointer' : ctypes.CFUNCTYPE
        }

    if platform.system() in ('Windows', 'Microsoft'):
        d['library_loader'] = ctypes.windll
        d['function_pointer'] = ctypes.WINFUNCTYPE

    return d
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号