aboutsummaryrefslogtreecommitdiff
path: root/include/Paradox/Object.h
blob: 23488fdcb60eed8551b6bf2c1de51229fb0c72eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef PARADOX_OBJECT_H
#define PARADOX_OBJECT_H

#include <objc/objc.h>
#include <objc/runtime.h>

@interface PXObject {
	void* dummy;  // it doesn't work without this so don't touch it
}
+ (instancetype)alloc;
#ifdef PARADOX_DEBUG_FEATURES
+ (instancetype)allocDebug;
#endif
+ (instancetype)new;
- (instancetype)retain;
- (instancetype)init;
- (void)dealloc;
- (void)release;
- (instancetype)autorelease;
#ifdef PARADOX_DEBUG_FEATURES
- (void)healthCheck;
#endif
@end

#endif