mirror of
https://github.com/SFML/SFML.git
synced 2024-12-01 15:51:04 +08:00
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:
parent
73370dc178
commit
0a2abc6933
@ -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" );
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user