/*
* call-seq:
* runtime -> Integer
*
* Return the number of milliseconds since the Rubygame timer system
* was initialized.
*
* The Rubygame timer system will be initialized when you call this function,
* if it has not been already.
*/
VALUE rbgm_time_getticks( VALUE module )
{
if(!SDL_WasInit(SDL_INIT_TIMER))
if(SDL_InitSubSystem(SDL_INIT_TIMER))
rb_raise(eSDLError,"Could not initialize timer system: %s",\
SDL_GetError());
return INT2NUM(SDL_GetTicks());
}