Update to Ruby 2.3
This commit is contained in:
parent
0244338e94
commit
3f4838b04c
@ -33,7 +33,7 @@ base_env = Rscons::Environment.new do |env|
|
|||||||
-L#{sdl2_location}/i686-w64-mingw32/lib -lmingw32 -lSDL2main -lSDL2 -mwindows
|
-L#{sdl2_location}/i686-w64-mingw32/lib -lmingw32 -lSDL2main -lSDL2 -mwindows
|
||||||
EOF
|
EOF
|
||||||
else
|
else
|
||||||
env.parse_flags!("!pkg-config --cflags --libs ruby-1.9")
|
env.parse_flags!("!pkg-config --cflags --libs ruby-2.3")
|
||||||
env.parse_flags!("!freetype-config --cflags --libs")
|
env.parse_flags!("!freetype-config --cflags --libs")
|
||||||
env.parse_flags!("!sdl2-config --cflags --libs")
|
env.parse_flags!("!sdl2-config --cflags --libs")
|
||||||
end
|
end
|
||||||
|
@ -12,8 +12,6 @@
|
|||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
RUBY_GLOBAL_SETUP
|
|
||||||
|
|
||||||
static const char * ruby_string(VALUE obj)
|
static const char * ruby_string(VALUE obj)
|
||||||
{
|
{
|
||||||
VALUE s = rb_funcall(obj, rb_intern("to_s"), 0);
|
VALUE s = rb_funcall(obj, rb_intern("to_s"), 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user