Esempio n. 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)
Esempio n. 2
0
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)
Esempio n. 3
0
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)
Esempio n. 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)