mirror of https://github.com/vitalif/openscad
16 lines
346 B
Plaintext
16 lines
346 B
Plaintext
#include "PlatformUtils.h"
|
|
#import <Foundation/Foundation.h>
|
|
|
|
std::string PlatformUtils::pathSeparatorChar()
|
|
{
|
|
return ":";
|
|
}
|
|
|
|
std::string PlatformUtils::documentsPath()
|
|
{
|
|
return std::string([[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) lastObject] UTF8String]);
|
|
}
|
|
|
|
void PlatformUtils::ensureStdIO(void) {}
|
|
|