virtual void Release()=0;
};
+#ifndef SWIG
struct oRefCount
{
volatile int count;
}
};
-#ifndef SWIG
#if defined(__mips__)
#define DECLARE_REF(x) \
private: oRefCount ref; \
}
#endif
#endif
-#else
+#else // SWIG
#define DECLARE_REF(x) \
private: \
void AddRef(); \
void Release();
-#endif
-
-#ifdef SWIG
-class Object
-{
-};
-#endif
+ class Object
+ {
+ };
+#endif // SWIG
#endif