pike.git / src / interpret.c

version» Context lines:

pike.git/src/interpret.c:3049:      PMOD_EXPORT void 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);   }    + PMOD_EXPORT void push_static_text( const char *x ) + { +  struct svalue *_sp_ = Pike_sp++; +  SET_SVAL_SUBTYPE(*_sp_, 0); +  _sp_->u.string=make_shared_static_string(x, strlen(x), eightbit); +  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;