pike.git / lib / master.pike.in

version» Context lines:

pike.git/lib/master.pike.in:1:   // -*- Pike -*-   //   // Master Control Program for Pike.   //   // This file is part of Pike. For copyright information see COPYRIGHT.   // Pike is distributed under GPL, LGPL and MPL. See the file COPYING   // for more information.   // - // $Id: master.pike.in,v 1.257 2003/02/27 14:27:35 grubba Exp $ + // $Id: master.pike.in,v 1.258 2003/02/27 14:52:30 marcus Exp $      #pike __REAL_VERSION__      // Some programs destroys character pairs beginning with the currency   // symbol when running in chinese locale.   #if "ยค/" != "\244/"   #error "master.pike.in is corrupted."   #endif      // --- Some configurable parameters
pike.git/lib/master.pike.in:2923:    }          void decode_object(object o, mixed data)    {    o->_decode(data);    }   }       - mapping(string:Codec) codecs = set_weak_flag(([])); + mapping(string:Codec) codecs = set_weak_flag(([]),1);   Codec get_codec(string|void fname, int|void mkobj)   {    string key = fname + "\0" + mkobj;    if (codecs[key]) return codecs[key];    return codecs[key] = Codec(fname, mkobj);   }            //! Contains version information about a Pike version.