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.371 2005/01/26 21:00:19 mast Exp $ + // $Id: master.pike.in,v 1.372 2005/03/14 17:22:59 per Exp $      #pike __REAL_VERSION__   //#pragma strict_types      // Some programs destroys character pairs beginning with the currency   // symbol when running in chinese locale.   #if "ยค/" != "\244/"   #error "master.pike.in is corrupted."   #endif   
pike.git/lib/master.pike.in:1064:    "add_include_path",    "remove_include_path",    "add_module_path",    "remove_module_path",    "add_program_path",    "remove_program_path",    "describe_backtrace",    "describe_error",    "get_backtrace",    "normalize_path", +  "bool", +  "true", +  "false",    "getenv",    "putenv",      #ifdef GETCWD_CACHE    "cd",    "getcwd",   #endif   });    -  + enum bool { false=0, true=1 }; +    string include_prefix;         //! @decl int strlen(string|multiset|array|mapping|object thing)   //! @appears strlen   //! Alias for @[sizeof].   //! @deprecated sizeof      //! @decl int write(string fmt, mixed ... args)   //! @appears write
pike.git/lib/master.pike.in:1096:   //! @decl int werror(string fmt, mixed ... args)   //! @appears werror   //! Writes a string on stderr. Works just like @[Stdio.File.write]   //! on @[Stdio.stderr].      /* Note that create is called before add_precompiled_program    */   static void create()   {    foreach(master_efuns, string e) -  if (this[e]) +  if (!zero_type(this[e]))    add_constant(e, this[e]);    else    error("Function %O is missing from master.pike.\n", e);       add_constant("strlen", sizeof);    add_constant("write", write);    add_constant("werror", werror);    // To make it possible to overload get_dir and file_stat later on.    // It's not possible to replace efuns with normal functions in .o-files