Branch: Tag:

2004-07-04

2004-07-04 12:38:50 by Martin Stjernholm <mast@lysator.liu.se>

Added Pike.Encoder and Pike.Decoder which are the preferred replacements for
the compound Pike.Codec. Made the docs for them appear in the right place.

Rev: lib/master.pike.in:1.352
Rev: lib/modules/Pike.pmod/module.pmod:1.11

6:   // Pike is distributed under GPL, LGPL and MPL. See the file COPYING   // for more information.   // - // $Id: master.pike.in,v 1.351 2004/06/27 14:11:40 nilsson Exp $ + // $Id: master.pike.in,v 1.352 2004/07/04 12:38:49 mast Exp $      #pike __REAL_VERSION__   //#pragma strict_types
2679:    error("Error: %s has no main().\n", argv[0]);    ret=script->main(sizeof(argv),argv,env);    }; -  // Disable traceing. +  // Disable tracing.    trace = predef::trace(trace);    if (err) {    handle_error (err);
3693:   #endif      class Encoder + //! @appears Pike.Encoder + //!   //! Codec for use with @[encode_value]. It understands all the   //! standard references to builtin functions and pike modules.   //!
4069:   }      class Decoder (void|string fname, void|int mkobj) + //! @appears Pike.Decoder + //!   //! Codec for use with @[decode_value]. This is the decoder   //! corresponding to @[Encoder]. See that one for more details.   {
4231:   }      class Codec + //! @appears Pike.Codec + //!   //! @[Encoder] and @[Decoder] rolled into one. This is for mainly   //! compatibility; there's typically no use combining encoding and   //! decoding into the same object.