array element support for foreign C types