aboutsummaryrefslogtreecommitdiff
path: root/mp/src/vgui2/chromehtml/html_mac.mm
diff options
context:
space:
mode:
authorJoe Ludwig <[email protected]>2013-06-26 15:22:04 -0700
committerJoe Ludwig <[email protected]>2013-06-26 15:22:04 -0700
commit39ed87570bdb2f86969d4be821c94b722dc71179 (patch)
treeabc53757f75f40c80278e87650ea92808274aa59 /mp/src/vgui2/chromehtml/html_mac.mm
downloadsource-sdk-2013-39ed87570bdb2f86969d4be821c94b722dc71179.tar.xz
source-sdk-2013-39ed87570bdb2f86969d4be821c94b722dc71179.zip
First version of the SOurce SDK 2013
Diffstat (limited to 'mp/src/vgui2/chromehtml/html_mac.mm')
-rw-r--r--mp/src/vgui2/chromehtml/html_mac.mm16
1 files changed, 16 insertions, 0 deletions
diff --git a/mp/src/vgui2/chromehtml/html_mac.mm b/mp/src/vgui2/chromehtml/html_mac.mm
new file mode 100644
index 00000000..f85f091a
--- /dev/null
+++ b/mp/src/vgui2/chromehtml/html_mac.mm
@@ -0,0 +1,16 @@
+//=========== 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];
+} \ No newline at end of file