class Exports::Cygwin

Public Class Methods

nm() click to toggle source
# File ruby_3_3_0_preview1/win32/mkexports.rb, line 145
def self.nm
  @@nm ||= RbConfig::CONFIG["NM"]
end

Public Instance Methods

each_export(objs) { |$2, !$1| ... } click to toggle source
# File ruby_3_3_0_preview1/win32/mkexports.rb, line 157
def each_export(objs)
  symprefix = RbConfig::CONFIG["SYMBOL_PREFIX"]
  symprefix.strip! if symprefix
  re = /\s(?:(T)|[[:upper:]])\s#{symprefix}((?!#{PrivateNames}).*)$/
  objdump(objs) do |l|
    next if /@.*@/ =~ l
    yield $2, !$1 if re =~ l
  end
end
each_line(objs, &block) click to toggle source
# File ruby_3_3_0_preview1/win32/mkexports.rb, line 153
def each_line(objs, &block)
  IO.foreach("|#{self.class.nm} --extern --defined #{objs.join(' ')}", &block)
end
exports(*) click to toggle source
Calls superclass method Exports#exports
# File ruby_3_3_0_preview1/win32/mkexports.rb, line 149
def exports(*)
  super()
end