示例#1
0
 def dummy_prepare_file_argument(space, fileobj):
     # call pypy_init_embedded_cffi_module() from a random place like here
     # --- this calls load_cffi1_module(), too
     embedding.pypy_init_embedded_cffi_module(
         rffi.cast(rffi.INT, embedding.EMBED_VERSION_MIN),
         42)
     return lltype.nullptr(rffi.CCHARP.TO)
示例#2
0
文件: __init__.py 项目: sota/pypy
def pypy_init_embedded_cffi_module(version, init_struct):
    from pypy.module._cffi_backend import embedding
    return embedding.pypy_init_embedded_cffi_module(version, init_struct)
示例#3
0
文件: __init__.py 项目: xulukai/pypy
def pypy_init_embedded_cffi_module(version, init_struct):
    from pypy.module._cffi_backend import embedding
    return embedding.pypy_init_embedded_cffi_module(version, init_struct)
示例#4
0
 def dummy_prepare_file_argument(space, fileobj):
     # call pypy_init_embedded_cffi_module() from a random place like here
     # --- this calls load_cffi1_module(), too
     embedding.pypy_init_embedded_cffi_module(
         rffi.cast(rffi.INT, embedding.EMBED_VERSION_MIN), 42)
     return lltype.nullptr(rffi.CCHARP.TO)