Make mrb_top_self return a real instance.

This commit is contained in:
Carson McDonald
2013-03-25 00:23:22 -04:00
parent 84161ed793
commit 930e4c71c0
5 changed files with 17 additions and 6 deletions
+1
View File
@@ -419,6 +419,7 @@ obj_iv_p(mrb_value obj)
case MRB_TT_SCLASS:
case MRB_TT_HASH:
case MRB_TT_DATA:
case MRB_TT_MAIN:
return TRUE;
default:
return FALSE;