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

ruby-changes:26180

From: ngoto <ko1@a...>
Date: Thu, 6 Dec 2012 23:27:50 +0900 (JST)
Subject: [ruby-changes:26180] ngoto:r38237 (trunk): * ext/fiddle/lib/fiddle/import.rb (CALL_TYPE_TO_ABI): exclude private constant from RDoc

ngoto	2012-12-06 23:27:38 +0900 (Thu, 06 Dec 2012)

  New Revision: 38237

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

  Log:
    * ext/fiddle/lib/fiddle/import.rb (CALL_TYPE_TO_ABI): exclude private constant from RDoc

  Modified files:
    trunk/ext/fiddle/lib/fiddle/import.rb

Index: ext/fiddle/lib/fiddle/import.rb
===================================================================
--- ext/fiddle/lib/fiddle/import.rb	(revision 38236)
+++ ext/fiddle/lib/fiddle/import.rb	(revision 38237)
@@ -147,6 +147,7 @@
     end
     private :parse_bind_options
 
+    # :stopdoc:
     CALL_TYPE_TO_ABI = Hash.new { |h, k|
       raise RuntimeError, "unsupported call type: #{k}"
     }.merge({ :stdcall => (Function::STDCALL rescue Function::DEFAULT),
@@ -154,6 +155,7 @@
               nil      => Function::DEFAULT
             }).freeze
     private_constant :CALL_TYPE_TO_ABI
+    # :startdoc:
 
     # Creates a global method from the given C +signature+.
     def extern(signature, *opts)

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

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