

def new_function_type(self, args, result, has_varargs):
    args = [arg.cdecl for arg in args]
    result = result.cdecl
    return FakeType(('<func (%s), %s, %s>' % (', '.join(args), result, has_varargs)))

dataset/ETHPy150Open johncsnyder/SwiftKitten/cffi/testing/cffi0/test_parsing.py FakeBackend.new_function_type/original