mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/socket: use rsock_ prefix for internal initialization functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
91533255f8
commit
a4fa54a10a
16 changed files with 43 additions and 39 deletions
|
|
@ -289,7 +289,7 @@ ip_s_getaddress(VALUE obj, VALUE host)
|
|||
* IPSocket is the super class of TCPSocket and UDPSocket.
|
||||
*/
|
||||
void
|
||||
Init_ipsocket(void)
|
||||
rsock_init_ipsocket(void)
|
||||
{
|
||||
rb_cIPSocket = rb_define_class("IPSocket", rb_cBasicSocket);
|
||||
rb_define_method(rb_cIPSocket, "addr", ip_addr, -1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue