From 39ed87570bdb2f86969d4be821c94b722dc71179 Mon Sep 17 00:00:00 2001 From: Joe Ludwig Date: Wed, 26 Jun 2013 15:22:04 -0700 Subject: First version of the SOurce SDK 2013 --- sp/src/vgui2/chromehtml/html_mac.mm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 sp/src/vgui2/chromehtml/html_mac.mm (limited to 'sp/src/vgui2/chromehtml/html_mac.mm') diff --git a/sp/src/vgui2/chromehtml/html_mac.mm b/sp/src/vgui2/chromehtml/html_mac.mm new file mode 100644 index 00000000..f85f091a --- /dev/null +++ b/sp/src/vgui2/chromehtml/html_mac.mm @@ -0,0 +1,16 @@ +//=========== Copyright Valve Corporation, All rights reserved. ===============// +// +// Purpose: +//=============================================================================// + +#include + +extern "C" void *CreateAutoReleasePool() +{ + return [[NSAutoreleasePool alloc] init]; +} + +extern "C" void ReleaseAutoReleasePool( void *pool ) +{ + [pool release]; +} \ No newline at end of file -- cgit v1.2.3