Changeset d8cfe21e for launchers/macosx


Ignore:
Timestamp:
Oct 12, 2018 8:07:59 PM (21 months ago)
Author:
meeh <meeh@…>
Branches:
master
Children:
1a00f73
Parents:
ee9976c
Message:

OSX Launcher: make some string functions inline

File:
1 edited

Legend:

Unmodified
Added
Removed
  • launchers/macosx/include/strutil.hpp

    ree9976c rd8cfe21e  
    101101}
    102102
    103 NSString* stdStringToNSString(std::string &stdstr) {
     103inline NSString* stdStringToNSString(std::string &stdstr) {
    104104  return [NSString stringWithUTF8String:stdstr.c_str()];
    105105}
    106106
    107 std::string nsStringToStd(NSString* nsStr) {
     107inline std::string nsStringToStd(NSString* nsStr) {
    108108  const char *charlist = [nsStr UTF8String];
    109109  return std::string(charlist);
Note: See TracChangeset for help on using the changeset viewer.