Files
archived-touchHLE/tests/TestApp_source/system_headers_objc.h
abnormalmaps 9666ff6746 Support building Objective C in TestApp
Supports building Objective-C code inside TestApp by using the
common3.0-sdk.

Change-Id: I684e2892f750c03818dd2bc35f0d108e61611e15
2025-09-18 12:22:40 +02:00

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