mirror of
https://github.com/SFML/SFML.git
synced 2024-11-29 14:51:06 +08:00
16 lines
336 B
C++
16 lines
336 B
C++
|
#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_
|