git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1589 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
b1a9967d56
commit
4b418bb4d7
10 changed files with 650 additions and 0 deletions
15
ruby/sfml-system/system/System.hpp
Normal file
15
ruby/sfml-system/system/System.hpp
Normal file
|
@ -0,0 +1,15 @@
|
|||
#ifndef SFML_RUBYEXT_SYSTEM_HEADER_
|
||||
#define SFML_RUBYEXT_SYSTEM_HEADER_
|
||||
|
||||
#include "ruby.h"
|
||||
|
||||
VALUE GetNamespace( void );
|
||||
|
||||
// Ruby initiation function
|
||||
extern "C" void Init_system( void );
|
||||
|
||||
typedef VALUE ( *RubyFunctionPtr )( ... );
|
||||
|
||||
#define FUNCPTR( x ) ( reinterpret_cast< RubyFunctionPtr >( x ) )
|
||||
|
||||
#endif // SFML_RUBYEXT_SYSTEM_HEADER_
|
Loading…
Add table
Add a link
Reference in a new issue