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