mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-01-07 09:43:40 +08:00
16 lines
384 B
Plaintext
16 lines
384 B
Plaintext
|
//=========== Copyright Valve Corporation, All rights reserved. ===============//
|
||
|
//
|
||
|
// Purpose:
|
||
|
//=============================================================================//
|
||
|
|
||
|
#include <Cocoa/Cocoa.h>
|
||
|
|
||
|
extern "C" void *CreateAutoReleasePool()
|
||
|
{
|
||
|
return [[NSAutoreleasePool alloc] init];
|
||
|
}
|
||
|
|
||
|
extern "C" void ReleaseAutoReleasePool( void *pool )
|
||
|
{
|
||
|
[pool release];
|
||
|
}
|