Skip to content

Commit

Permalink
change ruby_check_stack to ruby_stack_check
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmelt committed Aug 6, 2011
1 parent daf27de commit 856042d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.txt
Expand Up @@ -27,3 +27,7 @@ v4.6.3.2
v4.6.3.3
2011/08/05 - Handle issues building against Ruby 1.9.2 and running on Windows with 1.9.2
2011/08/05 - Handle incompatibility with Rails regarding constants method

v4.6.3.4
2011/08/06 - Accidently checked in ruby_check_stack instead of ruby_stack_check

2 changes: 1 addition & 1 deletion ext/ruby/qtruby/src/Qt.cpp
Expand Up @@ -301,7 +301,7 @@ Binding::callMethod(Smoke::Index method, void *ptr, Smoke::Stack args, bool /*is
// If the virtual method hasn't been overriden, just call the C++ one.
// During GC, avoid checking for override and just call the C++ version
// If not in a ruby thread, just call the C++ version
if (rb_during_gc() || ruby_check_stack() || rb_respond_to(obj, rb_intern(methodName)) == 0) {
if (rb_during_gc() || ruby_stack_check() || rb_respond_to(obj, rb_intern(methodName)) == 0) {
return false;
}
QtRuby::VirtualMethodCall c(smoke, method, args, obj, ALLOCA_N(VALUE, smoke->methods[method].numArgs));
Expand Down

0 comments on commit 856042d

Please sign in to comment.