summaryrefslogtreecommitdiff
path: root/ext/dl
diff options
context:
space:
mode:
authorzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-27 23:27:36 +0000
committerzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-27 23:27:36 +0000
commit4ba88161ee01c804db85a7fd3ecd562eb251d765 (patch)
treec0c566de20e900ac7c88e03a9382cd35fb763765 /ext/dl
parent9c831edbf4f30fdcf90d8c991ded624c27898874 (diff)
* 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
Diffstat (limited to 'ext/dl')
-rw-r--r--ext/dl/lib/dl.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/dl/lib/dl.rb b/ext/dl/lib/dl.rb
index b34bb82f41..8e615ae718 100644
--- a/ext/dl/lib/dl.rb
+++ b/ext/dl/lib/dl.rb
@@ -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?