28#define _Class _Warning
39 release(this->message);
80#pragma mark - Class lifecycle
87 ((ObjectInterface *) clazz->interface)->dealloc =
dealloc;
102 clazz = _initialize(&(
const ClassDef) {
104 .superclass = _Object(),
105 .instanceSize =
sizeof(
Warning),
106 .interfaceOffset = offsetof(
Warning, interface),
107 .interfaceSize =
sizeof(WarningInterface),
static View * init(View *self)
static Warning * initWithFormat(Warning *self, WarningType type, const char *fmt,...)
static Warning * initWithVaList(Warning *self, WarningType type, const char *fmt, va_list args)
static void dealloc(Object *self)
static void initialize(Class *clazz)
Warnings are accumulated on Views so that they may be reported by the DebugViewController.
WarningType
Warning types.
String * message
The message.
Warning * initWithVaList(Warning *self, WarningType type, const char *fmt, va_list args)
Initializes this Warning with the given type and format string.
Warning * initWithFormat(Warning *self, WarningType type, const char *fmt,...)
Initializes this Warning with the given type and format string.
WarningType type
The WarningType.