'Calculate the size of an array struct on the CPU target'

def calc_array_sizeof(self, ndim):

    aryty = types.Array(types.int32, ndim, 'A')
    return self.get_abi_sizeof(self.get_value_type(aryty))
