13 MODULE = Rect PACKAGE = Rect
17 NewRect ( x, y, w, h )
23 RETVAL = (SDL_Rect *) safemalloc (sizeof(SDL_Rect));
35 if (items > 1 ) rect->x = SvIV(ST(1));
44 if (items > 1 ) rect->y = SvIV(ST(1));
53 if (items > 1 ) rect->w = SvIV(ST(1));
62 if (items > 1 ) rect->h = SvIV(ST(1));
67 MODULE = Rect PACKAGE = SDL_RectPtr PREFIX = Rect_
73 printf("RectPtr::DESTROY\n");