method
dlload
v1_9_3_125 -
Show latest stable
- Class:
DL::Importer
dlload(*libs)public
No documentation available.
# File ext/dl/lib/dl/import.rb, line 55
def dlload(*libs)
handles = libs.collect{|lib|
case lib
when nil
nil
when Handle
lib
when Importer
lib.handlers
else
begin
DL.dlopen(lib)
rescue DLError
raise(DLError, "can't load #{lib}")
end
end
}.flatten()
@handler = CompositeHandler.new(handles)
@func_map = {}
@type_alias = {}
end