Class: PyCall::PyRubyPtr

Inherits:
PyPtr
  • Object
show all
Defined in:
ext/pycall/ruby_wrapper.c

Instance Method Summary collapse

Instance Method Details

#__ruby_object_id__Object



438
439
440
441
442
443
444
445
# File 'ext/pycall/ruby_wrapper.c', line 438

static VALUE
pycall_pyruby_get_ruby_object_id(VALUE obj)
{
  PyRubyObject *pyrubyobj;

  pyrubyobj = check_get_pyrubyobj_ptr(obj);
  return rb_obj_id(pyrubyobj->ruby_object);
}