@@ -18,21 +18,22 @@ @class OFString; @class OFArray; @class OFMutableArray; +#define OF_BACKTRACE_SIZE 32 + /*! * @brief The base class for all exceptions in ObjFW * * The OFException class is the base class for all exceptions in ObjFW, except * the OFAllocFailedException. */ @interface OFException: OFObject { Class _inClass; - void *_backtrace[32]; - int _backtraceSize; + void *_backtrace[OF_BACKTRACE_SIZE]; } #ifdef OF_HAVE_PROPERTIES @property (readonly) Class inClass; #endif