Improved support for multi-dimensional arrays.
Correctly flag extern global function pointers for no extern generation.
Varptr = ptr.