Sha256: d4982883ee32625c1765eea2fdcc7912d455585ae18fe100dcb51f2132860261

Contents?: true

Size: 532 Bytes

Versions: 4

Compression:

Stored size: 532 Bytes

Contents

#ifndef global_entry__h_
#define global_entry__h_

#ruby <<END
  $: << '../..'
  require 'ruby_source_dir'
  variable_c_location = "#{RUBY_SOURCE_DIR}/variable.c"
  File.open(variable_c_location) do |variable_c|
    write = false
    stopwrite = false
    while (line = variable_c.gets) != nil do
      case line
      when /^struct global_entry/
        write = true
        stopwrite = false
      when /^\}/
        stopwrite = true if write
      end
      puts line if write
      break if stopwrite
    end
  end
END

#endif

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruby-internal-0.7.2 ext/internal/node/global_entry.h.rpp
ruby-internal-0.7.1 ext/internal/node/global_entry.h.rpp
ruby-internal-0.7.0 ext/internal/node/global_entry.h.rpp
ruby-internal-0.6.0 ext/internal/node/global_entry.h.rpp