From 382217c8b6633fc6a6c8dbf1173ff491ab86da25 Mon Sep 17 00:00:00 2001 From: ngoto Date: Thu, 6 Dec 2012 14:27:38 +0000 Subject: [PATCH] * ext/fiddle/lib/fiddle/import.rb (CALL_TYPE_TO_ABI): exclude private constant from RDoc git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/fiddle/lib/fiddle/import.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/fiddle/lib/fiddle/import.rb b/ext/fiddle/lib/fiddle/import.rb index 67deedd7ad..f5a069b48a 100644 --- a/ext/fiddle/lib/fiddle/import.rb +++ b/ext/fiddle/lib/fiddle/import.rb @@ -147,6 +147,7 @@ module Fiddle 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 @@ module Fiddle nil => Function::DEFAULT }).freeze private_constant :CALL_TYPE_TO_ABI + # :startdoc: # Creates a global method from the given C +signature+. def extern(signature, *opts)