Branch: Tag:

2002-05-02

2002-05-02 16:33:14 by Martin Stjernholm <mast@lysator.liu.se>

Added encode_object and decode_object to some codecs, since
encode_value and decode_value no longer ignores the error when they
don't exist.

Rev: src/testsuite.in:1.507

1: - test_true([["$Id: testsuite.in,v 1.506 2002/05/02 00:30:30 nilsson Exp $"]]); + test_true([["$Id: testsuite.in,v 1.507 2002/05/02 16:33:14 mast Exp $"]]);      cond([[all_constants()->_verify_internals]],   [[
1800:    return ([ "efun:trace":trace, "efun:werror":werror, "efun:`+":`+ ])[x] ||    0;    } +  +  mixed encode_object (object o) {} +  void decode_object (object o, mixed d) {}   }      void low_generate(int depth,
2461:    if (string name = search (all_constants(), what)) return name;    return ([])[0];    } +  +  mixed encode_object (object o) {} +  void decode_object (object o, mixed d) {}    }       mixed main()
2495:    {    return ([])[0];    } +  mixed encode_object (object o) {} +  void decode_object (object o, mixed d) {}    }       int main()