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.402 2007/07/31 23:24:21 bill Exp $ + // $Id: master.pike.in,v 1.403 2007/09/03 13:04:27 grubba 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:1282:   /* Note that create is called before add_precompiled_program    */   static void create()   {    foreach(master_efuns, string e)    if (!zero_type(this[e]))    add_constant(e, this[e]);    else    error("Function %O is missing from master.pike.\n", e);    +  add_constant("__dirnode", dirnode); +  add_constant("__joinnode", joinnode); +     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       add_constant("get_dir", master_get_dir );    add_constant("file_stat", lambda( string f, int|void d ) { return file_stat(f,d);} );      #define CO(X) add_constant(#X,Builtin.__backend->X)