v/thirdparty/ios/ios.m

9 lines
254 B
Objective-C

#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);
}