mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
add comments for rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0b058a1c2a
commit
9bd0ecd917
2 changed files with 7 additions and 0 deletions
|
@ -1342,6 +1342,10 @@ bsock_recvmsg_nonblock(int argc, VALUE *argv, VALUE sock)
|
|||
void
|
||||
Init_ancdata(void)
|
||||
{
|
||||
/* for rdoc */
|
||||
/* rb_cBasicSocket = rb_define_class("BasicSocket", rb_cIO); */
|
||||
/* rb_cSocket = rb_define_class("Socket", rb_cBasicSocket); */
|
||||
|
||||
rb_define_method(rb_cBasicSocket, "sendmsg", bsock_sendmsg, -1);
|
||||
rb_define_method(rb_cBasicSocket, "sendmsg_nonblock", bsock_sendmsg_nonblock, -1);
|
||||
rb_define_method(rb_cBasicSocket, "recvmsg", bsock_recvmsg, -1);
|
||||
|
|
|
@ -562,6 +562,9 @@ sockopt_unpack(VALUE self, VALUE template)
|
|||
void
|
||||
Init_sockopt(void)
|
||||
{
|
||||
/* for rdoc */
|
||||
/* rb_cSocket = rb_define_class("Socket", rb_cBasicSocket); */
|
||||
|
||||
rb_cSockOpt = rb_define_class_under(rb_cSocket, "Option", rb_cObject);
|
||||
rb_define_method(rb_cSockOpt, "initialize", sockopt_initialize, 4);
|
||||
rb_define_method(rb_cSockOpt, "family", sockopt_family_m, 0);
|
||||
|
|
Loading…
Reference in a new issue