pike.git / src / builtin.cmod

version» Context lines:

pike.git/src/builtin.cmod:2950:    *! as @tt{%s@} just as if it was a string.    */    PIKEFUN string _sprintf( int flag, mapping flags )    {    switch( flag )    {    case 'O':    {    struct pike_string *res;    struct Buffer_struct *str = THIS; -  push_text( "Buffer(%d /* %d */)" ); +  push_static_text( "Buffer(%d /* %d */)" );    if( str->str.s )    {    push_int(str->str.s->len);    push_int(str->str.malloced);    }    else    {    push_int( 0 );    push_int( 0 );    }
pike.git/src/builtin.cmod:5864:    */      /*! @endmodule    */      static struct object *val_module;      static void get_val_module(void)   {    assert (!val_module); -  push_text ("Val"); +  push_static_text ("Val");    APPLY_MASTER ("resolv", 1);    if (TYPEOF(Pike_sp[-1]) != T_OBJECT)    Pike_error ("\"Val\" didn't resolve to a module object.\n");    val_module = (--Pike_sp)->u.object;   }      /* Always do the lookup in the Val module dynamically to allow the    * values to be replaced. */   #define GET_VAL(NAME) \    PMOD_EXPORT struct object *PIKE_CONCAT (get_val_, NAME) (void) \