pike.git / src / modules / _Debug / debug.cmod

version» Context lines:

pike.git/src/modules/_Debug/debug.cmod:71:    *! @seealso    *! @[map_all_objects()]    */   PIKEFUN array(object) find_all_clones(program|function prog,    int(0..1)|void include_subclasses)   {    struct object *o = first_object;    struct program *p = program_from_svalue(prog);       if (!p) { -  SIMPLE_BAD_ARG_ERROR("Debug.find_all_clones", 1, "program"); +  SIMPLE_ARG_TYPE_ERROR("Debug.find_all_clones", 1, "program");    }       if (include_subclasses && !include_subclasses->u.integer) {    include_subclasses = NULL;    }       BEGIN_AGGREGATE_ARRAY(10) {       for (o = first_object; o; o = o->next) {    if (o->prog == p) {