mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-01-04 00:23:25 +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];
|
|
} |