diff options
Diffstat (limited to 'src/CocoaUtils.mm')
-rw-r--r-- | src/CocoaUtils.mm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/CocoaUtils.mm b/src/CocoaUtils.mm index b72583c..92640fd 100644 --- a/src/CocoaUtils.mm +++ b/src/CocoaUtils.mm @@ -8,3 +8,7 @@ void CocoaUtils::endApplication() object:nil]; } +void CocoaUtils::nslog(const std::string &str, void *userdata) +{ + NSLog([NSString stringWithUTF8String: str.c_str()]); +} |