mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +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,9 +1,12 @@
|
||||
#include "ruby.h"
|
||||
|
||||
void Init_all( void )
|
||||
extern "C"
|
||||
{
|
||||
rb_require( "sfml/system" );
|
||||
rb_require( "sfml/window" );
|
||||
rb_require( "sfml/graphics" );
|
||||
rb_require( "sfml/audio" );
|
||||
}
|
||||
void Init_all( void )
|
||||
{
|
||||
rb_require( "sfml/system" );
|
||||
rb_require( "sfml/window" );
|
||||
rb_require( "sfml/graphics" );
|
||||
rb_require( "sfml/audio" );
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user