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



422
423
424
425
426
427
428
429
# File 'ext/pycall/ruby_wrapper.c', line 422

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);
}