Files
Avalonia/native/Avalonia.Native/inc/noarc.h
T
Nikita Tsukanov 22c4c630ce [OSX] Implemented IOSurface/MTLSharedEvent interop APIs (#18791)
* [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>
2025-10-03 18:46:48 +02:00

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);