mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-15 20:32:28 +00:00
chore: initial commit
This commit is contained in:
commit
70b00c5c38
965 changed files with 264882 additions and 0 deletions
18
src/util/Autorelease.hpp
Normal file
18
src/util/Autorelease.hpp
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#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
|
||||
Loading…
Add table
Add a link
Reference in a new issue