* 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
This commit is contained in:
parent
60d6038dda
commit
382217c8b6
@ -147,6 +147,7 @@ module Fiddle
|
|||||||
end
|
end
|
||||||
private :parse_bind_options
|
private :parse_bind_options
|
||||||
|
|
||||||
|
# :stopdoc:
|
||||||
CALL_TYPE_TO_ABI = Hash.new { |h, k|
|
CALL_TYPE_TO_ABI = Hash.new { |h, k|
|
||||||
raise RuntimeError, "unsupported call type: #{k}"
|
raise RuntimeError, "unsupported call type: #{k}"
|
||||||
}.merge({ :stdcall => (Function::STDCALL rescue Function::DEFAULT),
|
}.merge({ :stdcall => (Function::STDCALL rescue Function::DEFAULT),
|
||||||
@ -154,6 +155,7 @@ module Fiddle
|
|||||||
nil => Function::DEFAULT
|
nil => Function::DEFAULT
|
||||||
}).freeze
|
}).freeze
|
||||||
private_constant :CALL_TYPE_TO_ABI
|
private_constant :CALL_TYPE_TO_ABI
|
||||||
|
# :startdoc:
|
||||||
|
|
||||||
# Creates a global method from the given C +signature+.
|
# Creates a global method from the given C +signature+.
|
||||||
def extern(signature, *opts)
|
def extern(signature, *opts)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user