#NEWLINE# def test_const_function_args( ) : #NEWLINE# #INDENT# ffi = FFI ( ) #NEWLINE# ffi . cdef ( 'int foobar(const int a, const int *b, const int c[]);' ) #NEWLINE# lib = verify ( lib , 'test_const_function_args' , '\n        int foobar(const int a, const int *b, const int c[]) {\n            return a + *b + *c;\n        }\n    ' ) #NEWLINE# assert ( lib . foobar ( 100 , ffi . new ( 'int *' , 40 ) , ffi . new ( 'int *' , 2 ) ) == 142 )