pike.git / src / interpret.c

version» Context lines:

pike.git/src/interpret.c:3055:    struct object *master_obj = master();    if ((i = find_identifier(fun, master_obj->prog)) != -1)    safe_apply_low2(master_obj, i, args, fun);    else {    pop_n_elems(args);    push_undefined();    }    }   }    + PMOD_EXPORT push_text( const char *x ) + { +  struct svalue *_sp_ = Pike_sp++; +  SET_SVAL_SUBTYPE(*_sp_, 0); +  _sp_->u.string=make_shared_string(x); +  debug_malloc_touch(_sp_->u.string); +  SET_SVAL_TYPE(*_sp_, PIKE_T_STRING); + } +    /* NOTE: Returns 1 if result on stack, 0 otherwise. */   PMOD_EXPORT int safe_apply_handler(const char *fun,    struct object *handler,    struct object *compat,    INT32 args,    TYPE_FIELD rettypes)   {    JMP_BUF recovery;    int ret;