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.474 2010/07/28 10:29:59 mast Exp $ + // $Id: master.pike.in,v 1.475 2010/07/28 22:50:57 mast Exp $      #pike __REAL_VERSION__   //#pragma strict_types      //! @appears predef::MasterObject   //!   //! Master control program for Pike.   //!   //! @seealso   //! @[predef::master()], @[predef::replace_master()]
pike.git/lib/master.pike.in:78:      //!   int compat_major=-1;      //!   int compat_minor=-1;      //!   int show_if_constant_errors = 0;    + int is_pike_master = 0; + // This integer variable should exist in any object that aspires to be + // the master. It gets set to 1 when the master is installed, and is + // therefore set in any object that is or has been the master. That + // makes the Encoder class encode references to the master and all + // ex-masters as references to the current master object. +    // --- Functions begin here.      // Have to access some stuff without going through the resolver.   private object(_static_modules.Builtin) Builtin = _static_modules.Builtin();   private constant Files = _static_modules.files;      #define Stat Files.Stat   #define capitalize(X) (upper_case((X)[..0])+(X)[1..])   #define trim_all_whites(X) (Builtin.string_trim_all_whites (X))