[ruby-cvs:72649] ko1:r65549 (trunk): use `RSTRUCT_CONST_PTR` carefully.

ko1 at ruby-lang.org ko1 at ruby-lang.org
Mon Nov 5 17:02:29 JST 2018


ko1	2018-11-05 17:02:29 +0900 (Mon, 05 Nov 2018)

  New Revision: 65549

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65549

  Log:
    use `RSTRUCT_CONST_PTR` carefully.
    
    * struct.c: should not use `RSTRUCT_CONST_PTR` with method dispatch
      because pointers can be obsolete after method dispatch. `rb_equal()`
      and so on can dispatch Ruby's methods.

  Modified files:
    trunk/struct.c


More information about the ruby-cvs mailing list