mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/dl/lib/dl.rb: Deprecation notice for DL
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9c831edbf4
commit
4ba88161ee
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
Wed Nov 28 08:26:00 2012 Zachary Scott <zachary@zacharyscott.net>
|
||||
|
||||
* ext/dl/lib/dl.rb: Deprecation notice for DL
|
||||
|
||||
Wed Nov 28 08:25:00 2012 Zachary Scott <zachary@zacharyscott.net>
|
||||
|
||||
* ext/fiddle/closure.c: Documentation for Fiddle
|
||||
|
|
|
@ -5,6 +5,8 @@ begin
|
|||
rescue LoadError
|
||||
end
|
||||
|
||||
warn "DL is deprecated, please use Fiddle"
|
||||
|
||||
module DL
|
||||
# Returns true if DL is using Fiddle, the libffi wrapper.
|
||||
def self.fiddle?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue