11 #ifndef G3D_ReferenceCount_h
12 #define G3D_ReferenceCount_h
18 #define USE_SHARED_PTR
20 #define ReferenceCountedPointer shared_ptr
21 #define WeakReferenceCountedPointer weak_ptr
34 bool isNull(
const ReferenceCountedPointer<T>& ptr) {
39 bool notNull(
const ReferenceCountedPointer<T>& ptr) {
bool notNull(const Pointer< T > &p)
Definition: Pointer.h:350
arena_t NULL
Definition: jemalloc_internal.h:624
Definition: ReferenceCount.h:24
virtual ~ReferenceCountedObject()
Definition: ReferenceCount.h:26
bool isNull(const Pointer< T > &p)
Definition: Pointer.h:345