diff options
author | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-27 23:27:36 +0000 |
---|---|---|
committer | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-27 23:27:36 +0000 |
commit | 4ba88161ee01c804db85a7fd3ecd562eb251d765 (patch) | |
tree | c0c566de20e900ac7c88e03a9382cd35fb763765 | |
parent | 9c831edbf4f30fdcf90d8c991ded624c27898874 (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
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | ext/dl/lib/dl.rb | 2 |
2 files changed, 6 insertions, 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 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? |