Added so that we can check if the system library has been loaded by querying: SFML::SystemLoaded which will be true if loaded otherwise nil which counts as false in an if-statement

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1596 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
groogy 2010-11-03 10:01:10 +00:00
parent 14741b19b6
commit e0b1a7a53f

View File

@ -35,6 +35,7 @@ VALUE GetNamespace( void )
void Init_system( void )
{
globalSFMLNamespace = rb_define_module( "SFML" );
rb_define_const(globalSFMLNamespace, "SystemLoaded", Qtrue);
Init_Clock();
Init_Vector2();
Init_Vector3();