22c4c630ce
* [OSX] Implemented IOSurface/MTLSharedEvent interop APIs * Bump Xcode? * Xcode? * APIDiff * Use different XCode versions because of how awesome appium is * A hack for crapium * Replace SkiaMetalApi usages * Update API suppressions --------- Co-authored-by: Timothy Miller <innerlogic4321@gmail.com> Co-authored-by: Julien Lebosquain <julien@lebosquain.net>
15 lines
329 B
Objective-C
15 lines
329 B
Objective-C
#import <AppKit/AppKit.h>
|
|
|
|
class CppAutoreleasePool
|
|
{
|
|
void* _pool;
|
|
public:
|
|
CppAutoreleasePool();
|
|
~CppAutoreleasePool();
|
|
};
|
|
|
|
#define START_ARP_CALL CppAutoreleasePool __autoreleasePool
|
|
extern void ReleaseNSObject(void* obj);
|
|
extern void RetainNSObject(void* obj);
|
|
extern uint64_t GetRetainCountForNSObject(void* obj);
|