20 #ifndef INCLUDED_SALHELPER_REFOBJ_HXX
21 #define INCLUDED_SALHELPER_REFOBJ_HXX
56 static void*
operator new (size_t,
void* p)
SAL_THROW(())
60 static void operator delete (
void*,
void*)
SAL_THROW(())
ReferenceObject()
Construction.
Definition: refobj.hxx:66
virtual oslInterlockedCount release()
Definition: refobj.hxx:77
SAL_DLLPUBLIC void * rtl_allocateMemory(sal_Size Bytes) SAL_THROW_EXTERN_C()
Allocate memory.
sal_Int32 oslInterlockedCount
Definition: interlck.h:32
Definition: refobj.hxx:34
SAL_DLLPUBLIC oslInterlockedCount osl_decrementInterlockedCount(oslInterlockedCount *pCount)
Decrement the count variable addressed by pCount.
virtual oslInterlockedCount acquire()
IReference.
Definition: refobj.hxx:72
#define OSL_ASSERT(c)
Definition: diagnose.h:153
SAL_DLLPUBLIC oslInterlockedCount osl_incrementInterlockedCount(oslInterlockedCount *pCount)
Increments the count variable addressed by pCount.
Interface for a reference type.
Definition: ref.hxx:32
virtual ~ReferenceObject()
Destruction.
Definition: refobj.hxx:92
SAL_DLLPUBLIC void rtl_freeMemory(void *Ptr) SAL_THROW_EXTERN_C()
Free memory.
#define SAL_THROW(exc)
Definition of function throw clause macros.
Definition: types.h:358