13 MODULE = SDL::Rect PACKAGE = SDL::Rect
19 RETVAL = (SDL_Rect *) safemalloc (sizeof(SDL_Rect));
28 SetRect(rect, x, y, w, h)
45 if (items > 1 ) rect->x = SvIV(ST(1));
54 if (items > 1 ) rect->y = SvIV(ST(1));
63 if (items > 1 ) rect->w = SvIV(ST(1));
72 if (items > 1 ) rect->h = SvIV(ST(1));
82 printf("RectPtr::DESTROY\n");
83 safefree( (char *)self );