mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 19:22:30 +00:00
18 lines
337 B
C++
18 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
|