summaryrefslogtreecommitdiff
path: root/ext/fiddle
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fiddle')
-rw-r--r--ext/fiddle/lib/fiddle/import.rb2
1 files changed, 2 insertions, 0 deletions
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)