MCPcopy Create free account
hub / github.com/KDE/kdiff3 / Release

Method Release

diff_ext_for_kdiff3/diff_ext.cpp:73–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71
72STDMETHODIMP_(ULONG)
73DIFF_EXT::Release()
74{
75 ULONG ret = 0L;
76
77 if(InterlockedDecrement((LPLONG)&_ref_count) != 0)
78 {
79 ret = _ref_count;
80 }
81 else
82 {
83 delete this;
84 }
85
86 return ret;
87}
88
89STDMETHODIMP
90DIFF_EXT::Initialize(LPCITEMIDLIST /*folder not used*/, IDataObject* data, HKEY /*key not used*/)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected