mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/socket: make sources rdoc friendly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
cce4892c1f
commit
daa739876f
16 changed files with 66 additions and 38 deletions
|
@ -136,6 +136,8 @@ unix_sysaccept(VALUE sock)
|
|||
#endif
|
||||
|
||||
/*
|
||||
* Document-class: ::UNIXServer < UNIXSocket
|
||||
*
|
||||
* UNIXServer class
|
||||
*/
|
||||
void
|
||||
|
@ -147,5 +149,6 @@ Init_unixserver(void)
|
|||
rb_define_method(rb_cUNIXServer, "accept", unix_accept, 0);
|
||||
rb_define_method(rb_cUNIXServer, "accept_nonblock", unix_accept_nonblock, 0);
|
||||
rb_define_method(rb_cUNIXServer, "sysaccept", unix_sysaccept, 0);
|
||||
rb_define_method(rb_cUNIXServer, "listen", rsock_sock_listen, 1); /* in socket.c */
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue