[ruby-cvs:60169] normal:r53016 (trunk): ext/socket/ifaddr.c: remove empty ifaddr_mark

normal at ruby-lang.org normal at ruby-lang.org
Thu Dec 10 05:07:24 JST 2015


normal	2015-12-10 05:07:23 +0900 (Thu, 10 Dec 2015)

  New Revision: 53016

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

  Log:
    ext/socket/ifaddr.c: remove empty ifaddr_mark
    
    We do not need to maintain empty functions for GC,
    gc_mark_children will not attempt to dereference NULL
    dmark callbacks.
    
    * ext/socket/ifaddr.c (ifaddr_mark): remove empty function
      (ifaddr_type): pass zero to rb_data_type_t.function.dmark

  Modified files:
    trunk/ChangeLog
    trunk/ext/socket/ifaddr.c


More information about the ruby-cvs mailing list