pike.git / src / array.c

version» Context lines:

pike.git/src/array.c:1412:    return ~a->size;    }       return low_lookup(a,s,switch_svalue_cmpfun);   }         /**    * Reorganize an array in the order specified by 'order'.    */ - PMOD_EXPORT struct array *order_array(struct array *v, INT32 *order) + PMOD_EXPORT struct array *order_array(struct array *v, const INT32 *order)   {    reorder((char *)ITEM(v),v->size,sizeof(struct svalue),order);    return v;   }         /**    * Copy and reorganize an array.    */   PMOD_EXPORT struct array *reorder_and_copy_array(struct array *v, INT32 *order)