Lines Matching refs:ffi2
1678 ffi2 = FFI()
1679 ffi2.include(ffi1)
1680 ffi2.cdef("int myfunc(foo_t *);")
1681 lib = ffi2.verify("typedef struct { int y, x; } foo_t;"
1683 res = lib.myfunc(ffi2.new("foo_t *", {'x': 10}))
1692 ffi2 = FFI()
1693 ffi2.include(ffi1)
1694 ffi2.cdef("int myfunc(enum foo_e);")
1695 lib2 = ffi2.verify("enum foo_e { CC, BB, AA };"
2113 ffi2 = FFI()
2114 ffi2.cdef("int *getptr(void);")
2115 lib2 = ffi2.verify("""
2278 ffi2 = FFI()
2279 ffi2.cdef("FILE *barize(void);")
2280 lib2 = ffi2.verify("FILE *barize(void) { return NULL; }")