/* call-seq: * settings.majorVersion -> major * * Major number of the context version to create */ static VALUE ContextSettings_GetMajorVersion( VALUE self ) { sf::ContextSettings *object = NULL; Data_Get_Struct( self, sf::ContextSettings, object ); return INT2FIX( object->MajorVersion ); }