Small changes in header files and also finished the SoundSource class.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1704 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
7c2b4bccfa
commit
ee117bb749
7 changed files with 260 additions and 30 deletions
|
@ -29,9 +29,4 @@
|
|||
// Ruby initiation function
|
||||
extern "C" void Init_audio( void );
|
||||
|
||||
typedef VALUE ( *RubyFunctionPtr )( ... );
|
||||
|
||||
#define rb_define_singleton_method( klass, name, func, argc, ... ) rb_define_singleton_method( klass, name, reinterpret_cast< RubyFunctionPtr >( func ), argc, ##__VA_ARGS__ )
|
||||
#define rb_define_method( klass, name, func, argc, ... ) rb_define_method( klass, name, reinterpret_cast< RubyFunctionPtr >( func ), argc, ##__VA_ARGS__ )
|
||||
|
||||
#endif // SFML_RUBYEXT_AUDIO_MAIN_HEADER_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue