Sha256: ffa3bdb5c7726c8aa52cbe7025456a75b232b728c7df96e17d1eb66973d91c61

Contents?: true

Size: 350 Bytes

Versions: 11

Compression:

Stored size: 350 Bytes

Contents

#include <ruby.h>

#ifdef RUBY_VM
#include "eval_intern.h"
#endif

#ruby <<END
  $: << '../..'
  require 'ruby_source_dir'
  eval_c_location = "#{RUBY_SOURCE_DIR}/eval.c"

  File.open(eval_c_location) do |eval_c|
    while (line = eval_c.gets) != nil do
      case line
      when /^#define TAG_/
        puts line
      end
    end
  end

  nil
END

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ruby-internal-0.8.5 ext/internal/tag/tag.h.rpp
ruby-internal-0.8.4 ext/internal/tag/tag.h.rpp
ruby-internal-0.8.3 ext/internal/tag/tag.h.rpp
ruby-internal-0.8.2 ext/internal/tag/tag.h.rpp
ruby-internal-0.8.1 ext/internal/tag/tag.h.rpp
ruby-internal-0.8.0 ext/internal/tag/tag.h.rpp
ruby-internal-0.7.3 ext/internal/tag/tag.h.rpp
ruby-internal-0.7.2 ext/internal/tag/tag.h.rpp
ruby-internal-0.7.1 ext/internal/tag/tag.h.rpp
ruby-internal-0.7.0 ext/internal/tag/tag.h.rpp
ruby-internal-0.6.0 ext/internal/tag/tag.h.rpp