pike.git / src / interpret.c

version» Context lines:

pike.git/src/interpret.c:1:   /*   || 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: interpret.c,v 1.279 2002/11/11 13:13:09 grubba Exp $ + || $Id: interpret.c,v 1.280 2002/11/14 21:28:52 marcus Exp $   */      #include "global.h" - RCSID("$Id: interpret.c,v 1.279 2002/11/11 13:13:09 grubba Exp $"); + RCSID("$Id: interpret.c,v 1.280 2002/11/14 21:28:52 marcus Exp $");   #include "interpret.h"   #include "object.h"   #include "program.h"   #include "svalue.h"   #include "array.h"   #include "mapping.h"   #include "pike_error.h"   #include "language.h"   #include "stralloc.h"   #include "constants.h"
pike.git/src/interpret.c:1689:    */    }    UNSETJMP(recovery);   }      PMOD_EXPORT void safe_apply_low(struct object *o,int fun,int args)   {    safe_apply_low2(o, fun, args, 1);   }    - PMOD_EXPORT void safe_apply(struct object *o, char *fun ,INT32 args) + PMOD_EXPORT void safe_apply(struct object *o, const char *fun ,INT32 args)   {   #ifdef PIKE_DEBUG    if(!o->prog) Pike_fatal("Apply safe on destructed object.\n");   #endif    safe_apply_low2(o, find_identifier(fun, o->prog), args, 1);   }      /* Returns nonzero if the function was called in some handler. */   PMOD_EXPORT int low_unsafe_apply_handler(const char *fun,    struct object *handler,
pike.git/src/interpret.c:1824:    apply_low(o, (int)FIND_LFUN(o->prog,fun), args);   }      PMOD_EXPORT void apply_shared(struct object *o,    struct pike_string *fun,    int args)   {    apply_low(o, find_shared_string_identifier(fun, o->prog), args);   }    - PMOD_EXPORT void apply(struct object *o, char *fun, int args) + PMOD_EXPORT void apply(struct object *o, const char *fun, int args)   {    apply_low(o, find_identifier(fun, o->prog), args);   }         PMOD_EXPORT void apply_svalue(struct svalue *s, INT32 args)   {    if(s->type==T_INT)    {    pop_n_elems(args);