Method: WIN32OLE.ole_reference_count
- Defined in:
- win32ole.c
.ole_reference_count(aWIN32OLE) ⇒ Object
Returns reference counter of Dispatch interface of WIN32OLE object. You should not use this method because this method exists only for debugging WIN32OLE.
2133 2134 2135 2136 2137 2138 2139 |
# File 'win32ole.c', line 2133
static VALUE
fole_s_reference_count(VALUE self, VALUE obj)
{
struct oledata * pole = NULL;
pole = oledata_get_struct(obj);
return RB_INT2NUM(reference_count(pole));
}
|