pike.git / src / post_modules / GTK2 / source / gdkevent.pre

version» Context lines:

pike.git/src/post_modules/GTK2/source/gdkevent.pre:236:   string _sprintf(int flag)   {    int mode = 0;    if(args>0 && Pike_sp[-args].type == PIKE_T_INT)    mode = Pike_sp[-args].u.integer;    pop_n_elems( args );    if(mode != 'O') {    push_undefined();    return;    } -  push_text( "GDK2.Event(" ); -  push_text( "type" ); pgdk_event__index( 1 ); -  push_text( ")" ); +  ref_push_string( _STR("GDK2.Event(") ); +  ref_push_string( _STR("type") ); pgdk_event__index( 1 ); +  ref_push_string( _STR(")") );    f_add( 3 );   }      mixed cast(string to)   //! Cast to different types.   {    struct svalue *osp = Pike_sp-args;    char *a;    GdkEvent *e = (GdkEvent *)THIS->obj;