pike.git / src / builtin.cmod

version» Context lines:

pike.git/src/builtin.cmod:2270:    f_Buffer_get_copy( 0 );    else    f_Buffer_get( 0 );    }    return;       case 't':    RETURN make_shared_binary_string("Buffer",6);    }    pop_n_elems( args ); -  push_int( 0 ); -  Pike_sp[-1].subtype = 1; +  push_undefined();    }       /*! @decl mixed cast( string type )    *! It is possible to cast a String.Buffer object to    *! a @expr{string@} and an @expr{int@}.    */    PIKEFUN mixed cast( string type )    {    struct pike_string *string_t;    struct pike_string *int_t;