Sha256: 259c61648e751accd8fd74d7b588e11ca2a31d47be25125d10037be2698287cc

Contents?: true

Size: 620 Bytes

Versions: 11

Compression:

Stored size: 620 Bytes

Contents

#include <ruby.h>
#include "tag.h"

void Init_tag()
{
  VALUE rb_mTag = rb_define_module("Tag");
  rb_define_const(rb_mTag, "RETURN", INT2NUM(TAG_RETURN));
  rb_define_const(rb_mTag, "BREAK",  INT2NUM(TAG_BREAK));
  rb_define_const(rb_mTag, "NEXT",   INT2NUM(TAG_NEXT));
  rb_define_const(rb_mTag, "RETRY",  INT2NUM(TAG_RETRY));
  rb_define_const(rb_mTag, "REDO",   INT2NUM(TAG_REDO));
  rb_define_const(rb_mTag, "RAISE",  INT2NUM(TAG_RAISE));
  rb_define_const(rb_mTag, "THROW",  INT2NUM(TAG_THROW));
  rb_define_const(rb_mTag, "FATAL",  INT2NUM(TAG_FATAL));
  rb_define_const(rb_mTag, "MASK",   INT2NUM(TAG_MASK));
}

Version data entries

11 entries across 11 versions & 1 rubygems

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