Sha256: a3c036784ca89f816a044500980f98ebea94ad6b4dcd32afc6c3d0ec23448a81

Contents?: true

Size: 527 Bytes

Versions: 12

Compression:

Stored size: 527 Bytes

Contents

#ifndef Rice__detail__Jump_Tag__hpp_
#define Rice__detail__Jump_Tag__hpp_

namespace Rice
{
  //! A placeholder for Ruby longjmp data.
  /*! When a Ruby exception is caught, the tag used for the longjmp is stored in
   *  a Jump_Tag, then later passed to rb_jump_tag() when there is no more
   *  C++ code to pass over.
   */
  struct Jump_Tag
  {
    //! Construct a Jump_Tag with tag t.
    Jump_Tag(int t) : tag(t) {}

    //! The tag being held.
    int tag;
  };
} // namespace Rice

#endif // Rice__detail__Jump_Tag__hpp_

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
rice-4.3.3 rice/detail/Jump_Tag.hpp
rice-4.3.2 rice/detail/Jump_Tag.hpp
rice-4.3.1 rice/detail/Jump_Tag.hpp
rice-4.3.0 rice/detail/Jump_Tag.hpp
rice-4.2.1 rice/detail/Jump_Tag.hpp
rice-4.2.0 rice/detail/Jump_Tag.hpp
rice-4.1.0 rice/detail/Jump_Tag.hpp
rice-4.0.4 rice/detail/Jump_Tag.hpp
rice-4.0.3 rice/detail/Jump_Tag.hpp
rice-4.0.2 rice/detail/Jump_Tag.hpp
rice-4.0.1 rice/detail/Jump_Tag.hpp
rice-4.0.0 rice/detail/Jump_Tag.hpp