Source

pypy / lib_pypy / _ctypes / dll.py

1
2
3
4
5
6
7
8
9
import _rawffi

try: from __pypy__ import builtinify
except ImportError: builtinify = lambda f: f

@builtinify
def dlopen(name, mode):
    # XXX mode is ignored
    return _rawffi.CDLL(name)