pike.git / src / array.c

version» Context lines:

pike.git/src/array.c:1925:   #define CMP(X,Y) set_svalue_cmpfun(X,Y)   #define TYPE struct svalue   #define ID set_sort_svalues   #include "fsort_template.h"   #undef CMP   #undef TYPE   #undef ID      /** Remove all instances of an svalue from an array   */ - static struct array *subtract_array_svalue(struct array *a, struct svalue *b) + PMOD_EXPORT struct array *subtract_array_svalue(struct array *a, +  struct svalue *b)   {    size_t size = a->size;    size_t from=0, to=0;    TYPE_FIELD to_type = 1<<TYPEOF(*b);    TYPE_FIELD type_field = 0;    ONERROR ouch;    struct svalue *ip=ITEM(a), *dp=ip;    int destructive = 1;       if( size == 0 )