public static FinalizeObject ( |
||
self | ||
리턴 | void |
//==================================================================== // OverloadMapper dealloc implementation. //==================================================================== public static new void tp_dealloc(IntPtr ob) { OverloadMapper self = (OverloadMapper)GetManagedObject(ob); Runtime.Decref(self.target); ExtensionType.FinalizeObject(self); }
/// <summary> /// EventBinding dealloc implementation. /// </summary> public new static void tp_dealloc(IntPtr ob) { var self = (EventBinding)GetManagedObject(ob); Runtime.XDecref(self.target); ExtensionType.FinalizeObject(self); }
//==================================================================== // MethodBinding dealloc implementation. //==================================================================== public static new void tp_dealloc(IntPtr ob) { MethodBinding self = (MethodBinding)GetManagedObject(ob); Runtime.Decref(self.target); ExtensionType.FinalizeObject(self); }
/// <summary> /// ConstructorBinding dealloc implementation. /// </summary> public new static void tp_dealloc(IntPtr ob) { var self = (ConstructorBinding)GetManagedObject(ob); Runtime.XDecref(self.repr); Runtime.XDecref(self.pyTypeHndl); ExtensionType.FinalizeObject(self); }
//==================================================================== // ConstructorBinding dealloc implementation. //==================================================================== public static new void tp_dealloc(IntPtr ob) { BoundContructor self = (BoundContructor)GetManagedObject(ob); Runtime.XDecref(self.repr); Runtime.XDecref(self.pyTypeHndl); ExtensionType.FinalizeObject(self); }
//==================================================================== // Descriptor dealloc implementation. //==================================================================== public static new void tp_dealloc(IntPtr ob) { EventObject self = (EventObject)GetManagedObject(ob); if (self.unbound != null) { Runtime.Decref(self.unbound.pyHandle); } ExtensionType.FinalizeObject(self); }
/// <summary> /// Descriptor dealloc implementation. /// </summary> public new static void tp_dealloc(IntPtr ob) { var self = (MethodObject)GetManagedObject(ob); Runtime.XDecref(self.doc); if (self.unbound != null) { Runtime.XDecref(self.unbound.pyHandle); } ExtensionType.FinalizeObject(self); }