зеркало из https://github.com/mozilla/pjs.git
Fixing calling conventions of NS_IMPL_THREADSAFE_RELEASE. Submitted by Tobias Oberstein. r=me, sr=jband@netscape.com.
This commit is contained in:
Родитель
c72e39436f
Коммит
813f756c7f
|
@ -645,7 +645,7 @@ NS_IMETHODIMP_(nsrefcnt) _class::AddRef(void) \
|
|||
*/
|
||||
|
||||
#define NS_IMPL_THREADSAFE_RELEASE(_class) \
|
||||
nsrefcnt _class::Release(void) \
|
||||
NS_IMETHODIMP_(nsrefcnt) _class::Release(void) \
|
||||
{ \
|
||||
nsrefcnt count; \
|
||||
NS_PRECONDITION(0 != mRefCnt, "dup release"); \
|
||||
|
|
|
@ -645,7 +645,7 @@ NS_IMETHODIMP_(nsrefcnt) _class::AddRef(void) \
|
|||
*/
|
||||
|
||||
#define NS_IMPL_THREADSAFE_RELEASE(_class) \
|
||||
nsrefcnt _class::Release(void) \
|
||||
NS_IMETHODIMP_(nsrefcnt) _class::Release(void) \
|
||||
{ \
|
||||
nsrefcnt count; \
|
||||
NS_PRECONDITION(0 != mRefCnt, "dup release"); \
|
||||
|
|
Загрузка…
Ссылка в новой задаче