Sha256: fa3d11d9c981f68c221c32469b3dd7c8072ad7e0b184ab2bfd6777d74ef0f2de

Contents?: true

Size: 606 Bytes

Versions: 32

Compression:

Stored size: 606 Bytes

Contents

namespace detail
{

struct rb_thread_struct
{
    VALUE self;
    void *vm;
    VALUE *stack;
    unsigned long stack_size;
    VALUE *cfp;
    /* ... */
};

typedef struct rb_thread_struct rb_thread_t;

} // namespace detail

extern "C" detail::rb_thread_t * ruby_current_thread;

inline
VALUE *
Rice::detail::
cfp()
{
  return ruby_current_thread->cfp;
}

inline
VALUE &
Rice::detail::
cfp_data_memo_node_and_pc(VALUE * cfp)
{
  return cfp[0];
}

inline
VALUE &
Rice::detail::
cfp_self(VALUE * cfp)
{
  return cfp[5];
}

inline
VALUE &
Rice::detail::
cfp_method_class(VALUE * cfp)
{
  return cfp[11];
}

Version data entries

32 entries across 32 versions & 5 rubygems

Version Path
rice-3.0.0 rice/detail/cfp.ipp
rice2-2.2.1 rice/detail/cfp.ipp
rice2-2.2.0 rice/detail/cfp.ipp
rice-2.2.0 rice/detail/cfp.ipp
rice-2.1.3 rice/detail/cfp.ipp
rice-2.1.2 rice/detail/cfp.ipp
rice-2.1.1 rice/detail/cfp.ipp
rice-2.1.0 rice/detail/cfp.ipp
rice-2.0.0 rice/detail/cfp.ipp
rice-1.7.0 rice/detail/cfp.ipp
rice-1.6.3 rice/detail/cfp.ipp
rice-1.6.2 rice/detail/cfp.ipp
rice-1.6.1 rice/detail/cfp.ipp
rice-1.6.0 rice/detail/cfp.ipp
rice-1.6.0.pre rice/detail/cfp.ipp
rice-1.5.3 rice/detail/cfp.ipp
rice-1.5.2 rice/detail/cfp.ipp
keyme-rice-1.5.1.keyme1 rice/detail/cfp.ipp
keyme-rice-1.5.1.keyme rice/detail/cfp.ipp
rice-1.5.1 rice/detail/cfp.ipp