pike.git / src / pike_types.cmod

version» Context lines:

pike.git/src/pike_types.cmod:5475:    }       /* Leaf type. Most likely not reached. */    if (op & PT_BINOP_AND) {    add_ref(a);    return a;    }    return NULL;   }    + struct pike_type *type_binop(enum pt_binop op, +  struct pike_type *a, +  struct pike_type *b, +  enum pt_cmp_flags aflags, +  enum pt_cmp_flags bflags, +  enum pt_remap_flags remap_flags) + { +  struct remap_state remap; +  +  memset(&remap, 0, sizeof(remap)); +  +  return low_type_binop(op, a, b, &remap, aflags, bflags, remap_flags); + } +    /**    * Low-level subtraction (aka And-not) of two types.    *    * Note:    * There are two major operating modes; the external, where    * the two types have unrelated markers, which then need to    * be remapped in the result, and the internal, where the    * two types have related markers (this mode is used mainly    * when evaluating a type).    *