Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed restore iv_tbl to point to correct object

  • Loading branch information...
commit 278b9f11a860f587bd4d23ba24dfee3b79ef4eb6 1 parent 5a84d54
@coderrr authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/mixico.rb
View
2  lib/mixico.rb
@@ -70,7 +70,7 @@ class Object
builder.c %{
void restore_tbls() {
KLASS_OF(self)->m_tbl = (struct st_table *)rb_iv_get(self, "__orig_m_tbl__");
- KLASS_OF(self)->iv_tbl = (struct st_table *)rb_iv_get(self, "__orig_iv_tbl__");
+ ROBJECT(self)->iv_tbl = (struct st_table *)rb_iv_get(self, "__orig_iv_tbl__");
}
}
end
Please sign in to comment.
Something went wrong with that request. Please try again.