void array_index(struct svalue *to, struct array *a, INT32 n);
The only differance is that it adds some debug and safety measures. Usually you don't really need to use this function.