sfml/all couldn't be loaded since it's symbol was not C style but got name mangled by C++.

Fixed now :)

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1801 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
groogy 2011-02-26 01:09:31 +00:00
parent 73370dc178
commit 0a2abc6933

View File

@ -1,5 +1,7 @@
#include "ruby.h"
extern "C"
{
void Init_all( void )
{
rb_require( "sfml/system" );
@ -7,3 +9,4 @@ void Init_all( void )
rb_require( "sfml/graphics" );
rb_require( "sfml/audio" );
}
}