#NEWLINE# def test_const_function_type_args( ) : #NEWLINE# #INDENT# ffi = FFI ( ) #NEWLINE# ffi . cdef ( 'int (*foobar)(const int a, const int *b, const int c[]);' ) #NEWLINE# lib = verify ( ffi , 'test_const_function_type_args' , '\n        int (*foobar)(const int a, const int *b, const int c[]);\n    ' ) #NEWLINE# t = ffi . typeof ( lib . foobar ) #NEWLINE# assert ( t . args [ 0 ] is ffi . typeof ( 'int' ) ) #NEWLINE# assert ( ffi . args [ 1 ] is ffi . typeof ( 'int *' ) ) #NEWLINE# assert ( t . args [ 2 ] is ffi . typeof ( 'int *' ) )