Lines Matching refs:ffi2
1712 ffi2 = FFI()
1713 ffi2.include(ffi1)
1714 ffi2.cdef("int myfunc(foo_t *);")
1715 lib = ffi2.verify("typedef struct { int y, x; } foo_t;"
1717 res = lib.myfunc(ffi2.new("foo_t *", {'x': 10}))
1726 ffi2 = FFI()
1727 ffi2.include(ffi1)
1728 ffi2.cdef("int myfunc(enum foo_e);")
1729 lib2 = ffi2.verify("enum foo_e { CC, BB, AA };"
2151 ffi2 = FFI()
2152 ffi2.cdef("int foo_verify_dlopen_flags;")
2153 lib2 = ffi2.verify("int foo_verify_dlopen_flags;",
2154 flags=ffi2.RTLD_GLOBAL | ffi2.RTLD_LAZY)