pike.git / src / builtin.cmod

version» Context lines:

pike.git/src/builtin.cmod:1:   /* -*- c -*-   || 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: builtin.cmod,v 1.212 2008/06/24 18:49:14 grubba Exp $ + || $Id: builtin.cmod,v 1.213 2008/06/24 19:26:55 grubba Exp $   */      #include "global.h"   #include "interpret.h"   #include "svalue.h"   #include "pike_macros.h"   #include "object.h"   #include "program.h"   #include "array.h"   #include "pike_error.h"
pike.git/src/builtin.cmod:600:    struct object *o = m->u.object;    struct program *p = o->prog;    int id_level = p->inherits[m->subtype].identifier_level;    int fun;    p = p->inherits[m->subtype].prog;    /* NOTE: Fake lfun! */    fun = low_find_lfun(p, LFUN__SEARCH);    if (fun >= 0) {    apply_low(o, fun + id_level, 0);    stack_pop_n_elems_keep_top(args); +  return;    }    }    SIMPLE_BAD_ARG_ERROR("m_generation", 1, "mapping");   }      /*! @decl string ctime(int timestamp)    *!    *! Convert the output from a previous call to @[time()] into a readable    *! string containing the current year, month, day and time.    *!