aboutsummaryrefslogtreecommitdiff
path: root/sp/src/vgui2/chromehtml/html_mac.mm
diff options
context:
space:
mode:
Diffstat (limited to 'sp/src/vgui2/chromehtml/html_mac.mm')
-rw-r--r--sp/src/vgui2/chromehtml/html_mac.mm16
1 files changed, 16 insertions, 0 deletions
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 <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