mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/fiddle/lib/fiddle.rb: only require DL if it hasn't been required
yet. [ruby-core:30095] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
69a0084541
commit
1684c23496
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Sun May 9 02:57:02 2010 Aaron Patterson <aaron@tenderlovemaking.com>
|
||||
|
||||
* ext/fiddle/lib/fiddle.rb: only require DL if it hasn't been required
|
||||
yet. [ruby-core:30095]
|
||||
|
||||
Sun May 9 01:15:18 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* cont.c (stackgrowdirection): removed duplicated code, use
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
require 'fiddle.so'
|
||||
require 'fiddle/function'
|
||||
require 'fiddle/closure'
|
||||
require 'dl'
|
||||
require 'dl' unless Object.const_defined?(:DL)
|
||||
|
||||
module Fiddle
|
||||
Pointer = DL::CPtr
|
||||
|
|
Loading…
Reference in a new issue