Implement write barrier for addrinfo
rb_addrinfo_t has VALUE inspectname and VALUE canonname, so this triggers the write barrier for those. The AddrInfo wasn't readily available where we need to call RB_OBJ_WRITE, so this involves passing self around a bit.
rb_addrinfo_t
VALUE inspectname
VALUE canonname
AddrInfo
RB_OBJ_WRITE
self
Implement write barrier for addrinfo
rb_addrinfo_t
hasVALUE inspectname
andVALUE canonname
, so thistriggers the write barrier for those. The
AddrInfo
wasn't readilyavailable where we need to call
RB_OBJ_WRITE
, so this involves passingself
around a bit.