/*  call-seq:
 *     flags
 *
 *  Return any flags the surface was initialized with 
 *  (as a bitwise OR'd integer).
 */
VALUE rbgm_surface_get_flags(VALUE self)
{
        SDL_Surface *surf;
        Data_Get_Struct(self, SDL_Surface, surf);
        return UINT2NUM(surf->flags);
}