aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/thirdparty/ios
diff options
context:
space:
mode:
Diffstat (limited to 'v_windows/v/thirdparty/ios')
-rw-r--r--v_windows/v/thirdparty/ios/ios.m8
1 files changed, 8 insertions, 0 deletions
diff --git a/v_windows/v/thirdparty/ios/ios.m b/v_windows/v/thirdparty/ios/ios.m
new file mode 100644
index 0000000..801df16
--- /dev/null
+++ b/v_windows/v/thirdparty/ios/ios.m
@@ -0,0 +1,8 @@
+#import <Foundation/Foundation.h>
+
+void WrappedNSLog(const char *message,...) {
+ va_list args;
+ va_start(args, message);
+ NSLog(@"%@",[[NSString alloc] initWithFormat:[NSString stringWithUTF8String:message] arguments:args]);
+ va_end(args);
+}