Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
xpctest_noisy.cpp File Reference
#include "xpctest_private.h"

Go to the source code of this file.

Classes

class  xpctestNoisy

Functions

 NS_IMETHODIMP_ (nsrefcnt) xpctestNoisy

Function Documentation

Definition at line 64 of file xpctest_noisy.cpp.

{
  NS_PRECONDITION(PRInt32(mRefCnt) >= 0, "illegal refcnt");
  ++mRefCnt;
  NS_LOG_ADDREF(this, mRefCnt, "xpctestNoisy", sizeof(*this));
  printf("Noisy %d - incremented refcount to %d\n", mID, mRefCnt.get());
  return mRefCnt;
}