Pointer to an array in Objective-C function call
===

I want to pass an array of long long to an objective c function. I would like the array to be passed as a pointer, if possible, so that copying is not done. I wrote this code:

    + (int) getIndexOfLongLongValue: (long long) value inArray: (long long []) array size: (int) count
    {
        for (int i =0; i < count; i++)
        {
           if (array[i] == value)
               return i + 1;
        }
        return 0;
    }

to which I pass

    long long varname[count];

as the second argument. I am wondering if I can pass this array as a pointer or if this method is fine. I don't need pointers to long longs but pointers to the array.