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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gdkregion.pre:33:    pgtk2_pop_n_elems(args);    push_int(0);   }      int equal(GDK2.Region victim)   //! Return true if the region used as an argument is equal to the   //! current region. Also available as a==b when a is a region.   {    struct object *o;    GdkRegion *r; -  get_all_args("equal",args,"%o",&o); +  get_all_args(NULL,args,"%o",&o);    r=get_gdkobject(o,region);    if (!r) {    pgtk2_pop_n_elems(args);    push_int(0);    return;    } else {    int eq=gdk_region_equal((GdkRegion *)THIS->obj,r);    pgtk2_pop_n_elems(args);    push_int(eq);    }
pike.git/src/post_modules/GTK2/source/gdkregion.pre:60:    get_all_args( "point_in", args, "%i%i", &x, &y );    pgtk2_pop_n_elems(args);    push_int( gdk_region_point_in( (GdkRegion *)THIS->obj, x, y ) );   }      int rect_in(GDK2.Rectangle r)   //! Returns true if the given rectangle resides inside the given region   {    struct object *o;    GdkRectangle *r; -  get_all_args("rect_in",args,"%o",&o); +  get_all_args(NULL,args,"%o",&o);    if (!(r=get_gdkobject(o,rectangle))) {    Pike_error("Bad argument 1 to GDK2.rect_in( GDK2.Rectangle r )\n");    } else {    int b=gdk_region_rect_in((GdkRegion *)THIS->obj,r);    pgtk2_pop_n_elems(args);    push_int(b);    }   }      void offset(int dx, int dy)