/** * Retrieve the C ext handle for the given object. * * @param self the object * @return the object's C ext handle */ public final Object getNativeHandle(RubyBasicObject self) { return getNativeHandleAccessorForRead().get(self); }
/** * Retrieve the C ext handle for the given object. * * @param self the object * @return the object's C ext handle */ public final Object getNativeHandle(RubyBasicObject self) { return getNativeHandleAccessorForRead().get(self); }
/** * Set the C ext handle for the given object. * * @param self the object * @param value the object's C ext handle */ public final void setNativeHandle(RubyBasicObject self, Object value) { int index = getNativeHandleAccessorForRead().getIndex(); if(index == -1) { return; } setVariableInternal(realClass, self, index, value); }
/** * Set the C ext handle for the given object. * * @param self the object * @param value the object's C ext handle */ public final void setNativeHandle(RubyBasicObject self, Object value) { int index = getNativeHandleAccessorForRead().getIndex(); if(index == -1) { return; } setVariableInternal(realClass, self, index, value); }