예제 #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)