mirror of
https://github.com/touchHLE/touchHLE.git
synced 2026-01-31 01:25:24 +01:00
Supports building Objective-C code inside TestApp by using the common3.0-sdk. Change-Id: I684e2892f750c03818dd2bc35f0d108e61611e15
26 lines
663 B
Objective-C
26 lines
663 B
Objective-C
/*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
*/
|
|
// Objective C headers we don't have open-source equivalents for.
|
|
#ifndef TOUCHHLE_OBJC_SYSTEM_H
|
|
#define TOUCHHLE_OBJC_SYSTEM_H
|
|
// Objective-C base:
|
|
typedef signed char BOOL;
|
|
#define false 0
|
|
#define true 1
|
|
typedef struct objc_selector *SEL;
|
|
typedef struct objc_class *Class;
|
|
typedef struct objc_object {
|
|
Class isa;
|
|
} *id;
|
|
id objc_msgSend(id, SEL, ...);
|
|
@interface NSObject {
|
|
Class isa;
|
|
}
|
|
+ (id)new;
|
|
- (id)init;
|
|
@end
|
|
#endif // TOUCHHLE_OBJC_SYSTEM_H
|