[前][次][番号順一覧][スレッド一覧]

ruby-changes:31519

From: zzak <ko1@a...>
Date: Sat, 9 Nov 2013 14:30:08 +0900 (JST)
Subject: [ruby-changes:31519] zzak:r43598 (trunk): * ext/dl/cfunc.c: [DOC] fix typo in example [Bug #8944]

zzak	2013-11-09 14:29:59 +0900 (Sat, 09 Nov 2013)

  New Revision: 43598

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

  Log:
    * ext/dl/cfunc.c: [DOC] fix typo in example [Bug #8944]

  Modified files:
    trunk/ChangeLog
    trunk/ext/dl/cfunc.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 43597)
+++ ChangeLog	(revision 43598)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat Nov  9 14:29:04 2013  Zachary Scott  <e@z...>
+
+	* ext/dl/cfunc.c: [DOC] fix typo in example [Bug #8944]
+
 Sat Nov  9 13:59:58 2013  Zachary Scott  <e@z...>
 
 	* lib/test/unit/assertions.rb: [DOC] better example for assert_send()
Index: ext/dl/cfunc.c
===================================================================
--- ext/dl/cfunc.c	(revision 43597)
+++ ext/dl/cfunc.c	(revision 43598)
@@ -639,7 +639,7 @@ Init_dlcfunc(void) https://github.com/ruby/ruby/blob/trunk/ext/dl/cfunc.c#L639
      *   => "/lib64/libc.so.6"
      *   libc = DL::dlopen(libc_so)
      *   => #<DL::Handle:0x00000000e05b00>
-     *   @cfunc = DL::CFunc.new(libc,['strcpy'], DL::TYPE_VOIDP, 'strcpy')
+     *   @cfunc = DL::CFunc.new(libc['strcpy'], DL::TYPE_VOIDP, 'strcpy')
      *   => #<DL::CFunc:0x000000012daec0 ptr=0x007f62ca5a8300 type=1 name='strcpy'>
      *
      */

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]