diff options
author | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-26 04:11:27 +0000 |
---|---|---|
committer | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-26 04:11:27 +0000 |
commit | 5cbfd7509c1d7a67a2ec972c37d5d641eb021f8f (patch) | |
tree | b52edc34f627c2bcaab35f2cce4e248e166f5724 /ext/fiddle/lib/fiddle.rb | |
parent | 8948280c67072f652eebc31bc3a2f3fb86bcca5f (diff) | |
download | ruby-5cbfd7509c1d7a67a2ec972c37d5d641eb021f8f.tar.gz |
* ext/fiddle/lib/fiddle.rb: [DOC] Document Fiddle.dlopen(nil)
* ext/fiddle/handle.c: [DOC] Document Fiddle::Handle.new(nil)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/fiddle/lib/fiddle.rb')
-rw-r--r-- | ext/fiddle/lib/fiddle.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/fiddle/lib/fiddle.rb b/ext/fiddle/lib/fiddle.rb index c8a7ef1b05..3a9b5d5bff 100644 --- a/ext/fiddle/lib/fiddle.rb +++ b/ext/fiddle/lib/fiddle.rb @@ -32,6 +32,11 @@ module Fiddle # Creates a new handler that opens +library+, and returns an instance of # Fiddle::Handle. # + # If +nil+ is given for the +library+, Fiddle::Handle::DEFAULT is used, which + # usually means +libc+. + # + # libc = Fiddle.dlopen(nil) + # # See Fiddle::Handle.new for more. def dlopen library Fiddle::Handle.new library |