13 MODULE = SDL::Rect PACKAGE = Rect
18 NewRect ( x, y, w, h )
24 RETVAL = (SDL_Rect *) safemalloc (sizeof(SDL_Rect));
36 if (items > 1 ) rect->x = SvIV(ST(1));
45 if (items > 1 ) rect->y = SvIV(ST(1));
54 if (items > 1 ) rect->w = SvIV(ST(1));
63 if (items > 1 ) rect->h = SvIV(ST(1));
68 MODULE = SDL::Rect PACKAGE = SDL_RectPtr PREFIX = Rect_
74 printf("RectPtr::DESTROY\n");