summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--ext/dl/lib/dl.rb2
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4297a82a5d..46039951bc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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?