Sha256: 183748acb08ce006f475fae0773b6c60bc6a839a41c5dc6706e519475aba30c4

Contents?: true

Size: 484 Bytes

Versions: 38

Compression:

Stored size: 484 Bytes

Contents

#ifndef Rice__Jump_Tag__hpp_
#define Rice__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__Jump_Tag__hpp_

Version data entries

38 entries across 38 versions & 6 rubygems

Version Path
rice-3.0.0 rice/Jump_Tag.hpp
rice2-2.2.1 rice/Jump_Tag.hpp
rice2-2.2.0 rice/Jump_Tag.hpp
rice-2.2.0 rice/Jump_Tag.hpp
rice-2.1.3 rice/Jump_Tag.hpp
rice-2.1.2 rice/Jump_Tag.hpp
rice-2.1.1 rice/Jump_Tag.hpp
rice-2.1.0 rice/Jump_Tag.hpp
rice-2.0.0 rice/Jump_Tag.hpp
rice-1.7.0 rice/Jump_Tag.hpp
rice-1.6.3 rice/Jump_Tag.hpp
jameskilton-rice-1.2.0 rice/Jump_Tag.hpp
rice-1.6.2 rice/Jump_Tag.hpp
rice-1.6.1 rice/Jump_Tag.hpp
rice-1.6.0 rice/Jump_Tag.hpp
rice-1.6.0.pre rice/Jump_Tag.hpp
rice-1.5.3 rice/Jump_Tag.hpp
rice-1.5.2 rice/Jump_Tag.hpp
keyme-rice-1.5.1.keyme1 rice/Jump_Tag.hpp
keyme-rice-1.5.1.keyme rice/Jump_Tag.hpp