diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-02-25 22:49:20 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-02-25 22:49:20 +0000 |
commit | 59e4e93ef7b6b7f1536e3c56374cc6b8d74b5d28 (patch) | |
tree | 8ef0ee021c12e0ff884aaa2cc963845ab61fa41e /ext/dl/lib/dl/closure.rb | |
parent | 9d818a221ec86fb15bfe696995829807be49a1da (diff) |
* ext/dl: revert dl with libffi because it can't run on mswin now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl/lib/dl/closure.rb')
-rw-r--r-- | ext/dl/lib/dl/closure.rb | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/ext/dl/lib/dl/closure.rb b/ext/dl/lib/dl/closure.rb deleted file mode 100644 index eca941dfbc..0000000000 --- a/ext/dl/lib/dl/closure.rb +++ /dev/null @@ -1,19 +0,0 @@ -require 'dl' - -module DL - class Closure - attr_reader :ctype - attr_reader :args - - class BlockCaller < DL::Closure - def initialize ctype, args, abi = DL::Function::DEFAULT, &block - super(ctype, args, abi) - @block = block - end - - def call *args - @block.call(*args) - end - end - end -end |