| 937 | /* implemented in interop_ios.m */ |
| 938 | #elif defined CC_BUILD_MACOS |
| 939 | cc_result Process_StartOpen(const cc_string* args) { |
| 940 | UInt8 str[NATIVE_STR_LEN]; |
| 941 | CFURLRef urlCF; |
| 942 | int len; |
| 943 | |
| 944 | len = String_EncodeUtf8(str, args); |
| 945 | urlCF = CFURLCreateWithBytes(kCFAllocatorDefault, str, len, kCFStringEncodingUTF8, NULL); |
| 946 | LSOpenCFURLRef(urlCF, NULL); |
| 947 | CFRelease(urlCF); |
| 948 | return 0; |
| 949 | } |
| 950 | #elif defined CC_BUILD_HAIKU || defined CC_BUILD_BEOS |
| 951 | /* Implemented in interop_BeOS.cpp */ |
| 952 | #elif defined CC_BUILD_OS2 |
nothing calls this directly
no test coverage detected