def check_c_int(context, builder, n):
 _maxint = ((2 ** 31) - 1)
 def impl(n):
  if (n > _maxint):
   raise OverflowError('array size too large to fit in C int')
 context.compile_internal(builder, impl, signature(types.none, types.intp), (n,))

def check_c_int ( context , builder , n ) : _maxint = ( ( 2 ** 31 ) - 1 ) def impl ( n ) : if ( n > _maxint ) : raise OverflowError ( 'array size too large to fit in C int' ) context . compile_internal ( builder , impl , signature ( types . none , types . intp ) , ( n , ) )
check whether *n* fits in a c int .