diff options
Diffstat (limited to 'mp/src/vgui2/chromehtml/html_mac.mm')
| -rw-r--r-- | mp/src/vgui2/chromehtml/html_mac.mm | 16 |
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 |