Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. ## まともなクラス
  2.  
  3. ```
  4. (gdb) p mrb_class_get(mrb, "Argtable")
  5. $8 = (struct RClass *) 0x1cf5590
  6. (gdb) p mrb_obj_value($8)
  7. $13 = {value = {f = 1.5002338908695952e-316, p = 0x1cf5590, i = 30365072, sym = 30365072}, tt = MRB_TT_CLASS}
  8. ```
  9.  
  10. ## 今回出現したクラス
  11.  
  12. ```
  13. (gdb) p $3
  14. $14 = (struct RClass *) 0x1d295c0
  15. (gdb) p mrb_obj_value($3)
  16. $15 = {value = {f = 1.5107594653885971e-316, p = 0x1d295c0, i = 30578112, sym = 30578112}, tt = 80}
  17. (gdb) p $3->super
  18. $16 = (struct RClass *) 0x1d295c0 // Same!!1
  19. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement