pike.git / src / pike_types.h

version» Context lines:

pike.git/src/pike_types.h:129:    * Flags used by low_match_types().    */   #define A_EXACT 1   #define B_EXACT 2   #define NO_MAX_ARGS 4   #define NO_SHORTCUTS 8      #define TYPE_GROUPING      /* -  * Flags used by pike_types_le() +  * Flags used by low_pike_types_le()    */   #define LE_WEAK_OBJECTS 1 /* Perform weaker checking of objects. */   #define LE_A_B_SWAPPED 2 /* Argument A and B have been swapped.    * Relevant for markers.    */   #ifdef TYPE_GROUPING   #define LE_A_GROUPED 4 /* Argument A has been grouped.    * Perform weaker checking for OR-nodes. */   #define LE_B_GROUPED 8 /* Argument B has been grouped.    * Perform weaker checking for OR-nodes. */
pike.git/src/pike_types.h:357:    enum pt_cmp_flags bflags,    enum pt_remap_flags remap_flags);   struct pike_type *intersect_types(struct pike_type *a,    struct pike_type *b,    enum pt_cmp_flags aflags,    enum pt_cmp_flags bflags,    enum pt_remap_flags remap_flags);   int strict_check_call(struct pike_type *fun_type, struct pike_type *arg_type);   int check_soft_cast(struct pike_type *to, struct pike_type *from);   int match_types(struct pike_type *a,struct pike_type *b); - int pike_types_le(struct pike_type *a, struct pike_type *b); + int pike_types_le(struct pike_type *a, struct pike_type *b, +  enum pt_cmp_flags aflags, enum pt_cmp_flags bflags);   int check_variant_overload(struct pike_type *a, struct pike_type *b);   struct pike_type *index_type(struct pike_type *type,    struct pike_type *type_of_index,    node *n);   struct pike_type *range_type(struct pike_type *type,    struct pike_type *index1_type,    struct pike_type *index2_type);   struct pike_type *array_value_type(struct pike_type *array_type);   struct pike_type *key_type(struct pike_type *type, node *n);   int check_indexing(struct pike_type *type,