mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2026-01-31 03:52:50 +03:00
19 lines
337 B
C++
19 lines
337 B
C++
#ifndef UTIL_AUTORELEASE_HPP
|
|
#define UTIL_AUTORELEASE_HPP
|
|
|
|
#include <Foundation/Foundation.h>
|
|
|
|
namespace System_Autorelease {
|
|
class ScopedPool {
|
|
public:
|
|
// Member variables
|
|
NSAutoreleasePool* pool;
|
|
|
|
// Member functions
|
|
ScopedPool();
|
|
~ScopedPool();
|
|
};
|
|
}
|
|
|
|
#endif
|